* add docs for medusa ui 2.0.0 * fix: copy as child example * fix: dropdown menu example * add accordion examples * fix lint issues * fix apos in progress tabs demo * resolve comments * add icon * bump z-index on modals to prevent clashing with navbar * add sidebar item and card * undo modal z index changes * add links to updated and new components * update version * rm inline code formatting on links --------- Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
33 lines
586 B
TypeScript
33 lines
586 B
TypeScript
import { PropTable } from "@/components/props-table"
|
|
import { PropDataMap } from "@/types/props"
|
|
|
|
const iconButtonProps: PropDataMap = [
|
|
{
|
|
prop: "variant",
|
|
type: {
|
|
type: "enum",
|
|
values: ["primary", "transparent"],
|
|
},
|
|
defaultValue: "primary",
|
|
},
|
|
{
|
|
prop: "size",
|
|
type: {
|
|
type: "enum",
|
|
values: ["base", "large", "xlarge"],
|
|
},
|
|
defaultValue: "base",
|
|
},
|
|
{
|
|
prop: "isLoading",
|
|
type: "boolean",
|
|
defaultValue: false,
|
|
},
|
|
]
|
|
|
|
const Props = () => {
|
|
return <PropTable props={iconButtonProps} />
|
|
}
|
|
|
|
export default Props
|