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:
Kasper Fabricius Kristensen
2023-11-15 16:53:05 +01:00
committed by GitHub
parent 61aef4aaa7
commit a2a45b6fef
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -14,7 +14,7 @@ const buttonProps: PropDataMap = [
prop: "size",
type: {
type: "enum",
values: ["small", "base", "large", "xlarge"],
values: ["base", "large", "xlarge"],
},
defaultValue: "base",
},