@flexis/ui
Version:
Styleless React Components
29 lines • 1.15 kB
TypeScript
import PropTypes from 'prop-types';
export declare type Primitive = string | number | boolean;
export declare type InputValue = string | number;
export declare type SelectValue = Primitive | Primitive[];
export declare enum PlacementVariant {
Top = "top",
Right = "right",
Bottom = "bottom",
Left = "left"
}
export declare type Placement = 'top' | 'right' | 'bottom' | 'left';
export declare enum AlignVariant {
Start = "start",
Center = "center",
End = "end"
}
export declare type Align = 'start' | 'center' | 'end';
export declare enum AlignSideVariant {
Left = "left",
Right = "right"
}
export declare type AlignSide = 'left' | 'right';
export declare const PrimitivePropType: PropTypes.Requireable<string | number | boolean>;
export declare const InputValuePropType: PropTypes.Requireable<string | number>;
export declare const SelectValuePropType: PropTypes.Requireable<string | number | boolean | (string | number | boolean)[]>;
export declare const PlacementValues: Placement[];
export declare const AlignValues: Align[];
export declare const AlignSideValues: AlignSide[];
//# sourceMappingURL=types.d.ts.map