Skip to content

Commit

Permalink
fix: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-aiello-appfolio committed Feb 24, 2023
1 parent 25ab541 commit b0ad9ed
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/components/Icon/Icon.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ export const LiveExample = () => (
rotate={select('rotate', ['', '90', '180', '270'], '')}
flip={select('flip', ['', 'horizontal', 'vertical'], '')}
border={boolean('border', false)}
iconStyle={select('iconStyle', ['regular', 'solid', 'thin', 'light', 'duotone', 'brands'], 'solid')}
iconStyle={select(
'iconStyle',
['regular', 'solid', 'thin', 'light', 'duotone', 'brands'],
'solid'
)}
/>
);

Expand Down
7 changes: 6 additions & 1 deletion src/components/Input/CreditCardNumber.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,12 @@ const CreditCardNumber: FC<CreditCardNumberProps> = ({
<InputGroup className={className}>
<Input value={value || ''} onChange={onChangeHandler} {...inputProps} />
<InputGroupText className="p-0 px-2">
<Icon name={ccIconName} iconStyle={ccIconName === 'credit-card' ? 'regular' : 'brands'} fixedWidth size="lg" />
<Icon
name={ccIconName}
iconStyle={ccIconName === 'credit-card' ? 'regular' : 'brands'}
fixedWidth
size="lg"
/>
</InputGroupText>
</InputGroup>
);
Expand Down

0 comments on commit b0ad9ed

Please sign in to comment.