docs(ui,docs): Add documentation for Medusa UI 2.0.0 (#5227)
* 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>
This commit is contained in:
co-authored by
Shahed Nasser
parent
f5a698ad6f
commit
4e3f3b54cb
@@ -0,0 +1,19 @@
|
||||
import { PropTable } from "@/components/props-table"
|
||||
import { PropDataMap } from "@/types/props"
|
||||
|
||||
const progressTabsTriggerProps: PropDataMap = [
|
||||
{
|
||||
prop: "status",
|
||||
type: {
|
||||
type: "enum",
|
||||
values: ["not-started", "in-progress", "completed"],
|
||||
},
|
||||
defaultValue: "not-started",
|
||||
},
|
||||
]
|
||||
|
||||
const Props = () => {
|
||||
return <PropTable props={progressTabsTriggerProps} />
|
||||
}
|
||||
|
||||
export default Props
|
||||
Reference in New Issue
Block a user