Skip to main content

Module: utils/Hooks

Functions

useStyles

useStyles(props, classNamesOrStyles?, styles?): Object

Merges styles and class names from props with the classnames & styles given as arguments

Parameters

NameTypeDescription
propsany
classNamesOrStyles?string | string[] | CSSPropertiesclass name(s) or a style object
styles?CSSPropertiesoption to provide a style object if class names were given as first argument

Returns

Object

NameType
classNameany
styleany

Defined in

lincd/src/utils/Hooks.ts:7