retabler
Version:
React Component library via Tabler
17 lines (16 loc) • 508 B
TypeScript
import React from "react";
import { Color } from "../../common";
export interface ColorInputColor {
color: Color;
className?: string;
}
export interface ColorInputLabel {
children: React.ReactNode;
}
declare const ColorInput: {
(): void;
Label: ({ children }: ColorInputLabel) => JSX.Element;
Input: ({ ...props }: React.InputHTMLAttributes<HTMLElement>) => JSX.Element;
Color: ({ color, className }: ColorInputColor) => JSX.Element;
};
export default ColorInput;