Home > @xypnox/themescura > flattenCss
flattenCss() function
Flatten a nested object to a flat object, The keys are replaced and joined with the newKey function that gives a key starting with — and joined with -
Signature:
flattenCss: (theme: any) => {
[key: string]: any;
}
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
theme |
any |
{ [key: string]: any; }