import { IStyleSetBase } from './IStyleSet'; import type { DeepPartialV2 as DeepPartial } from './DeepPartial'; /** * A style function takes in styleprops and returns a partial styleset. * {@docCategory IStyleFunction} */ export type IStyleFunction = (props: TStylesProps) => DeepPartial; /** * Represents either a style function that takes in style props and returns a partial styleset, * or a partial styleset object. * {@docCategory IStyleFunctionOrObject} */ export type IStyleFunctionOrObject = IStyleFunction | DeepPartial;