Skip to content

Commit

Permalink
Remove comments and console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
narin committed Sep 10, 2024
1 parent a87b252 commit ded158f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions packages/components/src/components/Spacer/Spacer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import { spacing } from '@department-of-veterans-affairs/mobile-tokens'
export type SpacerProps = {
/** Size of the spacer, default sm */
size?:
| 'none' // 0
| '2xs' // 4
| 'xs' // 8
| 'sm' // 12
| 'none'
| '2xs'
| 'xs'
| 'sm'
| 'md'
| 'lg'
| 'xl'
Expand All @@ -33,9 +33,8 @@ export const Spacer: FC<SpacerProps> = ({
horizontal = false,
}) => {
const index = `vadsSpace${size[0].toUpperCase()}${size.slice(1)}`
console.log('key', index)
const spacerSize: number = spacing[index as keyof typeof spacing]
console.log('spacerSize', spacerSize)

return (
<View
style={{
Expand Down

0 comments on commit ded158f

Please sign in to comment.