18 lines
460 B
TypeScript
18 lines
460 B
TypeScript
|
import type { IRawStyle } from './IRawStyle';
|
||
|
/**
|
||
|
* {@docCategory IStyleBase}
|
||
|
*/
|
||
|
export type IStyleBase = IRawStyle | string | false | null | undefined;
|
||
|
/**
|
||
|
* {@docCategory IStyleBaseArray}
|
||
|
*/
|
||
|
export interface IStyleBaseArray extends Array<IStyle> {
|
||
|
}
|
||
|
/**
|
||
|
* IStyleObject extends a raw style objects, but allows selectors to be defined
|
||
|
* under the selectors node.
|
||
|
* @public
|
||
|
* {@docCategory IStyle}
|
||
|
*/
|
||
|
export type IStyle = IStyleBase | IStyleBaseArray;
|