color-picker-svelte
Version:
Color picker for Svelte
31 lines (30 loc) • 842 B
TypeScript
import { SvelteComponentTyped } from "svelte";
import { Color } from './color';
import { Position } from './';
declare const __propDef: {
props: {
color: Color;
title?: string;
isOpen?: boolean;
showAlphaSlider?: boolean;
disabled?: boolean;
onInput?: () => void;
onClose?: () => void;
class?: string;
position?: Position;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {
isOpen: boolean;
};
};
};
export type ColorInputProps = typeof __propDef.props;
export type ColorInputEvents = typeof __propDef.events;
export type ColorInputSlots = typeof __propDef.slots;
export default class ColorInput extends SvelteComponentTyped<ColorInputProps, ColorInputEvents, ColorInputSlots> {
}
export {};