* docs: create a new UI docs project (#13233) * docs: create a new UI docs project * fix installation errors * docs: migrate UI docs content to new project (#13241) * Fix content * added examples for some components * finish adding examples * lint fix * fix build errors * delete empty files * path fixes + refactor * fix build error
28 lines
648 B
TypeScript
28 lines
648 B
TypeScript
import { IconButton } from "@medusajs/ui"
|
|
import { PlusMini } from "@medusajs/icons"
|
|
|
|
export default function IconButtonAllSizes() {
|
|
return (
|
|
<div className="flex gap-2 items-center">
|
|
<IconButton size="2xsmall">
|
|
<PlusMini />
|
|
</IconButton>
|
|
<IconButton size="xsmall">
|
|
<PlusMini />
|
|
</IconButton>
|
|
<IconButton size="small">
|
|
<PlusMini />
|
|
</IconButton>
|
|
<IconButton size="base">
|
|
<PlusMini />
|
|
</IconButton>
|
|
<IconButton size="large">
|
|
<PlusMini />
|
|
</IconButton>
|
|
<IconButton size="xlarge">
|
|
<PlusMini />
|
|
</IconButton>
|
|
</div>
|
|
)
|
|
}
|