diff --git a/packages/react/src/components/Button/index.mdx b/packages/react/src/components/Button/index.mdx index 8c0cb13..5ec2a1d 100644 --- a/packages/react/src/components/Button/index.mdx +++ b/packages/react/src/components/Button/index.mdx @@ -23,19 +23,13 @@ You can use icons within the button by passing the icon name as a prop. > Use the attribute `iconPosition` to position the icon on the left or right side of the button. The default is `left`. - - - + - - - + You can also use button with only an icon. - - - + ## Disabled @@ -43,34 +37,22 @@ The button can be disabled. The disabled button will render the same no matter w > Keep in the mind that a disabled button will never call `onClick` if it is provided. - - - + ## Full width The button can be set to full width. You can use the `fullWidth` prop to do so. - - - - - - + + ## Size You can adjust the size of the button by using the `size` prop. Default value is `medium`. - - - - - - - - - + + + ## Props @@ -78,8 +60,6 @@ You can use all the props of the native html `