Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #19 from gameflow-tv/feature/sc1822
Browse files Browse the repository at this point in the history
Updating the checkbox
  • Loading branch information
guerrato authored Oct 4, 2021
2 parents 7f93a5d + ebdfb64 commit afe6dab
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 9 deletions.
3 changes: 1 addition & 2 deletions src/lib/components/buttons/LikeButton/LikeButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ export const LikeButton = (props: LikeButtonProps) => {
neutralColor={theme.colors.primaryText}
background={props.background || theme.colors.onBackground}
transition={props.transition || theme.transitions.long}
{...styles}
>
{...styles}>
<FontAwesomeIcon icon={[liked ? 'fas' : 'fal', 'heart' as IconName]} />
</LikeIcon>
)
Expand Down
3 changes: 1 addition & 2 deletions src/lib/components/buttons/ScrollButton/ScrollButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ export const ScrollButton = () => {
boxShadowXSmall={theme.shadows.xsmall}
boxShadowSmall={theme.shadows.small}
borderRadius={theme.shapes.borders.small}
color={theme.colors.primaryText}
>
color={theme.colors.primaryText}>
<FontAwesomeIcon icon={faArrowRight} />
</Button>
)
Expand Down
1 change: 0 additions & 1 deletion src/lib/components/inputs/Checkbox/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export const Checkbox = forwardRef(
}, [isChecked])

const theme = useTheme()

const styles: SpanProps = {
typography: props.typography || theme.typography.body2,
checkedBackground: props.checkedBackground || theme.colors.checkedBackground,
Expand Down
3 changes: 1 addition & 2 deletions src/lib/components/inputs/TextInput/TextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ export const TextInput = (props: TextInputProps) => {
criteriaRule(crit.condition.type, crit.condition.rule, inputValue)
? theme.colors.success
: theme.colors.primary
}
>
}>
{crit.criteria}
</ListItem>
)
Expand Down
3 changes: 1 addition & 2 deletions src/lib/components/tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ export const Tooltip = ({ content = '', position = 'bottom' }: TooltipProps) =>
padding={theme.spacing.xsmall}
mediumSpacing={theme.spacing.medium}
content={content}
position={position}
>
position={position}>
<input type="text" placeholder="This is the input" />
</ToolTip>
)
Expand Down

0 comments on commit afe6dab

Please sign in to comment.