Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowballXueQiu authored Oct 2, 2024
1 parent 7fa8a69 commit b474cde
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/components/button/src/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const Button = (props: ButtonProps) => {
}

if (props.size == 'xl') {
return 'xl'
return 'xl';
}
return 'md';
}
Expand Down Expand Up @@ -53,13 +53,13 @@ export const Button = (props: ButtonProps) => {


export interface ButtonProps {
children?: React.ReactNode,
onClick?: () => void,
disabled?: boolean,
variant?: string,
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl',
radius?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full'
children?: React.ReactNode;
onClick?: () => void;
disabled?: boolean;
variant?: string;
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
radius?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
color?: 'gray' | 'red' | 'pink' | 'grape' | 'violet' | 'indigo'
| 'blue' | 'cyan' | 'teal' | 'green' | 'lime' | 'yellow' | 'orange',
strong?: boolean,
}
| 'blue' | 'cyan' | 'teal' | 'green' | 'lime' | 'yellow' | 'orange';
strong?: boolean;
}

0 comments on commit b474cde

Please sign in to comment.