import { BoxProps } from './Box'; import { GridStyleProps } from './utils/grid'; export type GridProps = Omit & GridStyleProps; export type GridItemProps = BoxProps; /** * `Grid` is a two-dimensional layout system for the web. It lets you lay content out in rows and columns. * It is highly flexible, and can be used on its own or to build other components. * `Grid` is built on top of `Box` and has access to all `BoxProps`. * * @example * ```tsx * import { Grid } from '@workday/canvas-kit-react/layout'; * * interface CardProps extends GridProps { * // card-specific props * } * * // `Card`'s default values are set using `GridProps` * const Card = (props: CardProps) => ( * *

Hello, Card!

*

This card uses grid to set its layout.

*
* ); *``` */ export declare const Grid: import("@workday/canvas-kit-react/common").ElementComponent<"div", Omit & GridStyleProps> & { /** * `` is the child specific sub-component to ``. `` gets child specific props, whereas `` gets parent container props. * * @example * ``` * import { Grid } from '@workday/canvas-kit-react/layout'; * `Grid` is built on top of `Box` so `` gets all `BoxProps` as well. * * interface CardProps extends GridItemStyleProps { * // card-specific props * } * * // `Card`'s default values are set using `GridItemStyleProps` * const Card = (props: CardProps) => ( * *

Hello, Card!

*

This card uses grid child specific props to set its layout.

*
* ); *``` */ Item: import("@workday/canvas-kit-react/common").ElementComponent<"div", import("..").BackgroundStyleProps & import("./utils/border/color").BorderColorStyleProps & import("./utils/border/lineStyle").BorderLineStyleProps & import("./utils/border/radius").BorderRadiusStyleProps & import("./utils/border/shorthand").BorderShorthandStyleProps & import("./utils/border/width").BorderWidthStyleProps & import("..").ColorStyleProps & import("..").DepthStyleProps & import("..").FlexItemStyleProps & import("..").GridItemStyleProps & import("..").LayoutStyleProps & import("..").OtherStyleProps & import("..").PositionStyleProps & import("..").SpaceStyleProps & import("..").TextStyleProps & import("@workday/canvas-kit-styling").CSProps>; }; //# sourceMappingURL=Grid.d.ts.map