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
Name | Type | Description |
---|---|---|
props | any | |
classNamesOrStyles? | string | string [] | CSSProperties | class name(s) or a style object |
styles? | CSSProperties | option to provide a style object if class names were given as first argument |
Returns
Object
Name | Type |
---|---|
className | any |
style | any |