Update page.mdx
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
@@ -22,7 +22,10 @@ import {
|
||||
} from './snippets';
|
||||
import { PageTitle } from '@/components/PageTitle';
|
||||
import { Theming } from '@/components/Theming';
|
||||
import { ListBoxDefinition, ListBoxItemDefinition } from '../../../utils/definitions';
|
||||
import {
|
||||
ListBoxDefinition,
|
||||
ListBoxItemDefinition,
|
||||
} from '../../../utils/definitions';
|
||||
import { ChangelogComponent } from '@/components/ChangelogComponent';
|
||||
|
||||
export const reactAriaUrls = {
|
||||
@@ -66,15 +69,33 @@ Individual item within a ListBox.
|
||||
|
||||
### With description
|
||||
|
||||
<Snippet align="center" py={4} open preview={<WithDescription />} code={withDescription} />
|
||||
<Snippet
|
||||
align="center"
|
||||
py={4}
|
||||
open
|
||||
preview={<WithDescription />}
|
||||
code={withDescription}
|
||||
/>
|
||||
|
||||
### Single selection
|
||||
|
||||
<Snippet align="center" py={4} open preview={<SelectionModeSingle />} code={selectionModeSingle} />
|
||||
<Snippet
|
||||
align="center"
|
||||
py={4}
|
||||
open
|
||||
preview={<SelectionModeSingle />}
|
||||
code={selectionModeSingle}
|
||||
/>
|
||||
|
||||
### Multiple selection
|
||||
|
||||
<Snippet align="center" py={4} open preview={<SelectionModeMultiple />} code={selectionModeMultiple} />
|
||||
<Snippet
|
||||
align="center"
|
||||
py={4}
|
||||
open
|
||||
preview={<SelectionModeMultiple />}
|
||||
code={selectionModeMultiple}
|
||||
/>
|
||||
|
||||
### Disabled items
|
||||
|
||||
|
||||
Reference in New Issue
Block a user