diff --git a/packages/@holaplexui-react/package.json b/packages/@holaplexui-react/package.json index 3ede836..57d0930 100644 --- a/packages/@holaplexui-react/package.json +++ b/packages/@holaplexui-react/package.json @@ -1,7 +1,7 @@ { "name": "@holaplex/ui-library-react", "author": "Holaplex Inc.", - "version": "0.17.0", + "version": "0.17.1", "description": "Holaplex react ui library components", "private": false, "files": [ diff --git a/packages/@holaplexui-react/src/components/Button.tsx b/packages/@holaplexui-react/src/components/Button.tsx index 08aa220..98eac61 100644 --- a/packages/@holaplexui-react/src/components/Button.tsx +++ b/packages/@holaplexui-react/src/components/Button.tsx @@ -5,7 +5,6 @@ import { Spinner } from './Spinner'; export interface ButtonProps { variant?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'failure' | 'link'; size?: 'small' | 'medium' | 'large'; - border?: 'circle' | 'rounded' | 'square'; loading?: boolean; block?: boolean; icon?: ReactElement; @@ -20,7 +19,6 @@ export interface ButtonProps { export const Button = ({ variant = 'primary', - border = 'rounded', size = 'medium', loading = false, block = false, @@ -33,19 +31,6 @@ export const Button = ({ className, children, }: ButtonProps): JSX.Element => { - const spinnerSize = useMemo(() => { - switch (size) { - case 'small': - return '10px'; - case 'medium': - return '15px'; - case 'large': - return '20px'; - default: - return '15px'; - } - }, [size]); - const spinnerVariant = useMemo(() => { switch (variant) { case 'primary': @@ -84,17 +69,15 @@ export const Button = ({ ); };