UNPKG

color-picker-svelte

Version:
21 lines (20 loc) 587 B
import { Color } from './color.svelte.js'; import { Position } from './utils.js'; import type { Snippet } from 'svelte'; interface Props { color: Color; title?: string; isOpen?: boolean; showAlphaSlider?: boolean; disabled?: boolean; onInput?: () => void; onClose?: () => void; class?: string; position?: Position; children?: Snippet<[{ isOpen: boolean; }]>; } declare const ColorInput: import("svelte").Component<Props, {}, "color" | "isOpen" | "position">; type ColorInput = ReturnType<typeof ColorInput>; export default ColorInput;