@tolokoban/ui
Version:
React components with theme
21 lines • 809 B
TypeScript
import * as React from "react";
import { ChildStyleProps } from "../../theme/styles/child.js";
import { DimensionStyleProps } from "../../theme/styles/dimension.js";
import { PositionStyleProps } from "../../theme/styles/position.js";
import { ViewWithValue } from "../../types.js";
declare const SIZES: {
XS: string;
S: string;
M: string;
L: string;
XL: string;
};
export interface InputColorProps extends ViewWithValue<string>, ChildStyleProps, PositionStyleProps, DimensionStyleProps {
className?: string;
size?: keyof typeof SIZES;
/** If defined, label will be added to the input. */
label?: React.ReactNode;
}
export declare function ViewInputColor(props: InputColorProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=InputColor.d.ts.map