fix: minor fixes to IconButton and Button documentation (#5636)
**What** - Updates example on IconButton page so it no longer uses IconBadge - Removes the "small" size from Button props as it no longer exists.
This commit is contained in:
committed by
GitHub
parent
61aef4aaa7
commit
a2a45b6fef
@@ -11,14 +11,14 @@ component: true
|
||||
---
|
||||
|
||||
```tsx
|
||||
import { IconBadge } from "@medusajs/ui"
|
||||
import { IconButton } from "@medusajs/ui"
|
||||
import { Plus } from "@medusajs/icons"
|
||||
```
|
||||
|
||||
```tsx
|
||||
<IconBadge>
|
||||
<IconButton>
|
||||
<Plus />
|
||||
</IconBadge>
|
||||
</IconButton>
|
||||
```
|
||||
|
||||
## API Reference
|
||||
|
||||
@@ -14,7 +14,7 @@ const buttonProps: PropDataMap = [
|
||||
prop: "size",
|
||||
type: {
|
||||
type: "enum",
|
||||
values: ["small", "base", "large", "xlarge"],
|
||||
values: ["base", "large", "xlarge"],
|
||||
},
|
||||
defaultValue: "base",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user