UNPKG

color-picker-svelte

Version:
15 lines (14 loc) 502 B
import type { Color } from './color.svelte.js'; import { Position } from './utils.js'; interface Props { color: Color; isOpen?: boolean; showAlphaSlider?: boolean; position?: Position; /** Element used to figure out position (probably an input element) */ positioningContextElement: HTMLElement; onInput?: () => void; } declare const ColorPicker: import("svelte").Component<Props, {}, "color">; type ColorPicker = ReturnType<typeof ColorPicker>; export default ColorPicker;