UNPKG

@hope-ui/solid

Version:

The SolidJS component library you've hoped for.

23 lines 960 B
import { Property } from "csstype"; import { ResponsiveProps } from "../../styled-system/types"; import { ElementType, HTMLHopeProps } from "../types"; declare type GridSpanValue = string | number | "auto" | "full"; export declare type GridItemOptions = ResponsiveProps<{ area?: Property.GridArea; colSpan?: GridSpanValue; colStart?: Property.GridColumnStart; colEnd?: Property.GridColumnEnd; rowSpan?: GridSpanValue; rowStart?: Property.GridRowStart; rowEnd?: Property.GridRowEnd; }>; export declare type GridItemProps<C extends ElementType = "div"> = HTMLHopeProps<C, GridItemOptions>; /** * Component used as a child of Grid to control the span, and start positions within the grid */ export declare function GridItem<C extends ElementType = "div">(props: GridItemProps<C>): import("solid-js").JSX.Element; export declare namespace GridItem { var toString: () => string; } export {}; //# sourceMappingURL=grid-item.d.ts.map