Skip to content

Commit

Permalink
fix: bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fluid-design-io committed Dec 3, 2022
1 parent 081e414 commit 1e5d59b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/components/button/ButtonExamples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ const ButtonColors = ({
size = 'md',
shape = 'round',
isLoading = false,
gradient = undefined,
loadingOptions = {
animation: 'spin',
text: '',
Expand All @@ -63,7 +62,6 @@ const ButtonColors = ({
size?: keyof FluidButtonSizes;
isLoading?: boolean;
shape?: keyof FluidButtonShapes;
gradient?: keyof FluidButtonColorOptions['gradient'] | undefined;
loadingOptions?: {
animation?: keyof FulidButtonLoadingOptions['animation'];
text?: string;
Expand All @@ -83,7 +81,6 @@ const ButtonColors = ({
shape,
weight,
isLoading,
gradient,
loadingOptions,
}}
className='capitalize'
Expand Down
2 changes: 0 additions & 2 deletions src/content/docs/button/button.en.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ import { Button } from "@fluid-design/fluid-ui";
size="md"
shape="round"
isLoading={false}
gradient={undefined}
loadingOptions={
animation: "spin",
text: ""
Expand All @@ -310,7 +309,6 @@ import { Button } from "@fluid-design/fluid-ui";
| `badge` | `undefined` | `String \| React.ReactNode` <Table.D>The badge content.</Table.D> |
| `className` | `undefined` | `String` <Table.D>The class name of the button.</Table.D> |
| `color` | | `red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose`, `gray`, `slate`, `zinc`, `neutral`, `stone` <Table.D>Button color</Table.D> |
| `gradient` | | `string` <Table.D>Button gradient _beta_</Table.D> |
| `iconClassName` | | `String` <Table.D>The class name of the icon.</Table.D> |
| `iconEndPosition` | `flex` | `flex \| between` <Table.D>The position alignment of the icon end.</Table.D> |
| `iconEnd` | | `Function \| React.ReactNode` <Table.D>The icon end content.</Table.D> |
Expand Down

1 comment on commit 1e5d59b

@vercel
Copy link

@vercel vercel bot commented on 1e5d59b Dec 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.