@workday/canvas-kit-react
Version:
The parent module that contains all Workday Canvas Kit React components
41 lines • 1.31 kB
TypeScript
import { BackgroundStyleProps } from './background';
import { BorderStyleProps } from './border';
import { ColorStyleProps } from './color';
import { DepthStyleProps } from './depth';
import { FlexStyleProps } from './flex';
import { FlexItemStyleProps } from './flexItem';
import { GridStyleProps } from './grid';
import { GridItemStyleProps } from './gridItem';
import { LayoutStyleProps } from './layout';
import { OtherStyleProps } from './other';
import { PositionStyleProps } from './position';
import { SpaceStyleProps } from './space';
import { TextStyleProps } from './text';
/**
* Common Style Props
* ---
*Types for common style props shared across all components
*
* - background
* - border
* - color
* - depth
* - flexItem
* - gridItem
* - layout
* - other
* - position
* - space
* - text
*/
export type CommonStyleProps = BackgroundStyleProps & BorderStyleProps & ColorStyleProps & DepthStyleProps & FlexItemStyleProps & GridItemStyleProps & LayoutStyleProps & OtherStyleProps & PositionStyleProps & SpaceStyleProps & TextStyleProps;
/**
* All Style Props
* ---
* Types for every style prop
* - common
* - flex
* - grid
*/
export type AllStyleProps = CommonStyleProps & Omit<FlexStyleProps, 'display'> & Omit<GridStyleProps, 'display'>;
//# sourceMappingURL=styleProps.d.ts.map