diff --git a/packages/react/src/types.ts b/packages/react/src/types.ts index 1f163376e5..289733627f 100644 --- a/packages/react/src/types.ts +++ b/packages/react/src/types.ts @@ -5,11 +5,12 @@ export type Size = 'sm' | 'md' | 'lg'; export type DefaultProps = { /** - * Sets a size for descendant Designsystemet components. + * Changes size for descendant Designsystemet components. Select from predefined sizes. */ 'data-size'?: Size | (string & {}); /** - * Sets a color for descendant Designsystemet components. + * Changes color for descendant Designsystemet components. + * Select from predefined colors and colors defined using theme.designsystemet.no. */ 'data-color'?: Color | (string & {}); };