diff --git a/packages/@react-aria/color/docs/useColorField.mdx b/packages/@react-aria/color/docs/useColorField.mdx index e8f8d2cc5de..6688c1a4b5f 100644 --- a/packages/@react-aria/color/docs/useColorField.mdx +++ b/packages/@react-aria/color/docs/useColorField.mdx @@ -108,7 +108,7 @@ The following examples show how to use the `ColorField` component created in the By default, `ColorField` is uncontrolled. You can set a default value using the `defaultValue` prop. ```tsx example - + ``` ### Controlled @@ -124,7 +124,7 @@ function Example() { let [color, setColor] = React.useState(parseColor('#7f007f')); return ( <> - +

Current color value: {color.toString('hex')}

); @@ -137,8 +137,8 @@ A `ColorField` can be disabled using the `isDisabled` prop, and made read only u The difference is that read only color fields are focusable but disabled color fields are not. ```tsx example - - + + ``` ### HTML forms diff --git a/packages/@react-aria/dnd/docs/useDraggableCollection.mdx b/packages/@react-aria/dnd/docs/useDraggableCollection.mdx index 963648cbbb4..43cd93bfc09 100644 --- a/packages/@react-aria/dnd/docs/useDraggableCollection.mdx +++ b/packages/@react-aria/dnd/docs/useDraggableCollection.mdx @@ -290,7 +290,7 @@ let getItems = (keys) => ( {([id, item]) => ( - + {item.name} )} diff --git a/packages/@react-aria/dnd/docs/useDroppableCollection.mdx b/packages/@react-aria/dnd/docs/useDroppableCollection.mdx index a027d3bf6cc..c8a15b5a27e 100644 --- a/packages/@react-aria/dnd/docs/useDroppableCollection.mdx +++ b/packages/@react-aria/dnd/docs/useDroppableCollection.mdx @@ -737,7 +737,7 @@ function Example() { onRootDrop={onRootDrop} onInsert={onInsert}> {item => ( - +
{item.name} @@ -813,7 +813,7 @@ function Example() { ///- end highlight -/// onRootDrop={onRootDrop}> {item => ( - +
{item.kind === 'directory' ? : } {item.name} @@ -897,7 +897,7 @@ function Example() { acceptedDragTypes={['image/png']} onRootDrop={onRootDrop}> {item => ( - +
{item.name} @@ -1015,7 +1015,7 @@ function Example() { getDropOperation={getDropOperation} onDrop={onDrop}> {item => ( - +
{item.name} ({item.contains} items) diff --git a/packages/@react-aria/gridlist/docs/useGridList.mdx b/packages/@react-aria/gridlist/docs/useGridList.mdx index 7f4fc544b6e..92fe5bde2ad 100644 --- a/packages/@react-aria/gridlist/docs/useGridList.mdx +++ b/packages/@react-aria/gridlist/docs/useGridList.mdx @@ -375,7 +375,7 @@ function ExampleList(props) { return ( {item => ( - + {item.name}