-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #217 from bettersg/feature/190-pickup-multiselect
Feature/190 pickup multiselect
- Loading branch information
Showing
10 changed files
with
360 additions
and
225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
import { Text, HStack, Icon } from "@chakra-ui/react"; | ||
import { IconType } from "react-icons"; | ||
import { COLORS } from "theme"; | ||
|
||
type Props = { | ||
icon: IconType; | ||
title: string; | ||
text: string; | ||
icon: IconType; | ||
title: string; | ||
text: string; | ||
}; | ||
|
||
const OrgLabel = (props: Props) => { | ||
return ( | ||
<HStack flexShrink={0}> | ||
<Icon as={props.icon} boxSize={4} /> | ||
<Text as='b' fontSize="xs" >{props.title}</Text> | ||
<Text fontSize="xs" >{props.text}</Text> | ||
</HStack> | ||
); | ||
return ( | ||
<HStack flexShrink={0}> | ||
<Icon as={props.icon} boxSize={4} /> | ||
<Text as="b" fontSize="sm" color={COLORS.teal} fontWeight={500}> | ||
{props.title} | ||
</Text> | ||
<Text fontSize="sm" fontWeight={500}> | ||
{props.text} | ||
</Text> | ||
</HStack> | ||
); | ||
}; | ||
|
||
export default OrgLabel; | ||
export default OrgLabel; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.