Saltar al contenido
El Muestrario

componente · @solu30/ui-kit/input

InlineColor

El componente, montado

Cargando el espécimen…

Cargando el chunk del paquete instalado…

De dónde se importa

import { InlineColor } from '@solu30/ui-kit/input'

Props

4 props declaradas en los tipos de la versión instalada.
PropRequeridaTipoQué hace
labelstringField label
valuestring | nullCurrent hex color value (null = none)
onSave(v: string) => voidCalled with the new hex string when the user commits
classNameopcionalstringExtra class names applied to the outer wrapper