Skip to content

Commit

Permalink
Fix indentation (primer#2687)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josep Martins authored Dec 13, 2022
1 parent cc909dc commit 13f6ac2
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions docs/content/SelectPanel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const items = [
{leadingVisual: getColorCircle('#ffd78e'), text: 'design', id: 4},
{leadingVisual: getColorCircle('#ff0000'), text: 'blocker', id: 5},
{leadingVisual: getColorCircle('#a4f287'), text: 'backend', id: 6},
{leadingVisual: getColorCircle('#8dc6fc'), text: 'frontend', id: 7}
{leadingVisual: getColorCircle('#8dc6fc'), text: 'frontend', id: 7},
]

function DemoComponent() {
Expand Down Expand Up @@ -113,18 +113,16 @@ alternative to activating the save button.
<PropsTableRow name="title" type="string" />
<PropsTableRow name="inputLabel" type="string" />
<PropsTableRow name="inputPlaceholder" type="string" />

<PropsTableRow
name="selected"
type="ItemInput | ItemInput[] | undefined"
description="Specify the selected item(s)"
/>
<PropsTableRow
name="onSelectedChange"
type="(selected: ItemInput | ItemInput[]) => void"
description="Provide a callback called when the selected item(s) change"
/>

<PropsTableRow
name="selected"
type="ItemInput | ItemInput[] | undefined"
description="Specify the selected item(s)"
/>
<PropsTableRow
name="onSelectedChange"
type="(selected: ItemInput | ItemInput[]) => void"
description="Provide a callback called when the selected item(s) change"
/>
</PropsTable>

## Status
Expand All @@ -144,6 +142,6 @@ alternative to activating the save button.
stableApi: false,
addressedApiFeedback: false,
hasDesignGuidelines: false,
hasFigmaComponent: false
hasFigmaComponent: false,
}}
/>

0 comments on commit 13f6ac2

Please sign in to comment.