1 | import { IStyleSet } from './IStyleSet';
|
2 | import { DeepPartial } from './DeepPartial';
|
3 | /**
|
4 | * A style function takes in styleprops and returns a partial styleset.
|
5 | * {@docCategory IStyleFunction}
|
6 | */
|
7 | export declare type IStyleFunction<TStylesProps, TStyleSet extends IStyleSet<TStyleSet>> = (props: TStylesProps) => DeepPartial<TStyleSet>;
|
8 | /**
|
9 | * Represents either a style function that takes in style props and returns a partial styleset,
|
10 | * or a partial styleset object.
|
11 | * {@docCategory IStyleFunctionOrObject}
|
12 | */
|
13 | export declare type IStyleFunctionOrObject<TStylesProps, TStyleSet extends IStyleSet<TStyleSet>> = IStyleFunction<TStylesProps, TStyleSet> | DeepPartial<TStyleSet>;
|