UNPKG

@itwin/frontend-devtools

Version:

Debug menu and supporting UI widgets

28 lines 774 B
/** @packageDocumentation * @module Controls */ import { RgbColor } from "@itwin/core-common"; /** @alpha */ export type ColorInputHandler = (value: string) => void; /** @alpha */ export interface ColorInputProps { handler: ColorInputHandler; value: string; id?: string; label?: string; parent?: HTMLElement; display?: "inline" | "none" | "block"; disabled?: boolean; tooltip?: string; } /** @alpha */ export interface ColorInput { div: HTMLDivElement; input: HTMLInputElement; label?: HTMLLabelElement; } /** @alpha */ export declare function convertHexToRgb(hex: string): RgbColor | undefined; /** @alpha */ export declare function createColorInput(props: ColorInputProps): ColorInput; //# sourceMappingURL=ColorInput.d.ts.map