@spicy-ui/core
Version:
A themable and extensible React UI library, ready to use out of the box
10 lines (9 loc) • 347 B
TypeScript
/**
* Hook for resolving a component's styles.
* The result of which can then be passed to the `sx` prop.
*/
export declare function useComponentStyles(componentKey: string, props?: any): {};
/**
* Parser for resolving a component's styles.
*/
export declare function componentStylesMixin(componentKey: string): (props: any) => any;