@arche-mc2/arche-controls
Version:
We know that there are a ton of react UI library projects to choose from. Our hope with this one is to provide the next generation of react components that you can use to bootstrap your next project, or as a reference for building a UIKit. Read on to get
50 lines (49 loc) • 1.31 kB
TypeScript
/// <reference types="react" />
export declare type LayoutMode = 'flex' | 'float';
export declare type Alignment = 'top' | 'middle' | 'bottom';
export declare type Justification = 'start' | 'end' | 'center' | 'space-around' | 'space-between';
export interface UpGridProps {
className?: string;
gutter?: number;
rowSpacing?: number;
type?: LayoutMode;
fullRowLayout?: boolean;
style?: React.CSSProperties;
}
export interface UpGridStyledProps {
style?: React.CSSProperties;
}
export interface ColSize {
span?: number;
order?: number;
offset?: number;
push?: number;
pull?: number;
}
export interface UpColProps {
className?: string;
span?: number;
order?: number;
offset?: number;
rowSpacing?: number;
push?: number;
pull?: number;
xs?: number | ColSize;
sm?: number | ColSize;
md?: number | ColSize;
lg?: number | ColSize;
xl?: number | ColSize;
prefixCls?: string;
style?: React.CSSProperties;
}
export interface UpRowProps {
className?: string;
gutter?: number;
rowSpacing?: number;
type?: LayoutMode;
align?: Alignment;
justify?: Justification;
style?: React.CSSProperties;
prefixCls?: string;
fullRowLayout?: boolean;
}