UNPKG

@cn-ui/core

Version:

The @cn-ui/core is a collection of UI components and utilities for building modern web applications with SolidJS.

42 lines (41 loc) 1.16 kB
export declare const RowJustify: readonly ["start", "center", "end", "space-around", "space-between", "space-evenly"]; export declare const RowAlign: readonly ["top", "middle", "bottom"]; export type RowProps = { /** * 子单元之间的间距 * @default 8px */ gutter?: number | string | [number | string, number | string]; /** * 水平对齐方式 * @default start * @tested */ justify?: (typeof RowJustify)[number]; /** * 垂直对齐方式 */ align?: (typeof RowAlign)[number]; /** * 每一行的底部 Margin * @default 20px * @tested */ bottomSpace?: number | string; }; export declare const RowCtx: { use<D = { gutterX: string; gutterY: string; }>(): D; id: symbol; Provider: import("solid-js").ContextProviderComponent<{ gutterX: string; gutterY: string; } | undefined>; defaultValue: { gutterX: string; gutterY: string; } | undefined; }; export declare const Row: import("solid-js").Component<import("@cn-ui/reactive").OriginComponentOutputType<RowProps, HTMLElement, string>>;