diff --git a/src/components/Palette/README.md b/src/components/Palette/README.md index 73490cf416..104eaac9dc 100644 --- a/src/components/Palette/README.md +++ b/src/components/Palette/README.md @@ -10,8 +10,6 @@ import {Palette} from '@gravity-ui/uikit'; The `Palette` component is used display a grid of icons/emojis/reactions/symbols which you can select or unselect. - - ### Disabled state You can disable every option with the `disabled` property. If you want to disable only a portion of options, you can change the `disabled` property of some of the `options` (`PaletteOption[]`). @@ -20,24 +18,30 @@ You can disable every option with the `disabled` property. If you want to disabl // or disable all of them - + `} > + -; + LANDING_BLOCK--> @@ -63,15 +67,15 @@ To control the size of the `Palette`, use the `size` property. The default size - // ยซsยป is the default - - - + + + + + `} > -; + LANDING_BLOCK--> @@ -121,7 +125,7 @@ const options: PaletteOption[] = [ {content: '๐Ÿฅด', value: 'ID-woozy'}, ]; - // ยซsยป is the default + @@ -137,11 +141,11 @@ You can change the number of columns in the grid by changing the `columns` prope + `} > -; + LANDING_BLOCK--> @@ -169,17 +173,17 @@ const options: PaletteOption[] = [ ### Multiple -By default you can (un)select multiple option, but in case you want only one option to be selected, you can disable the `multiple` property. +By default you can (un)select multiple options, but in case you want only one option to be selected, you can disable the `multiple` property.