svelte-awesome-color-picker
Version:
A highly customizable color picker component library
29 lines (28 loc) • 986 B
TypeScript
interface Props {
/** DOM element of the wrapper element */
wrapper: HTMLElement | undefined;
/** indicator of the popup state */
isOpen: boolean;
/** if set to true, the wrapper should have a dialog role and be absolute. It should be relative otherwise */
isDialog: boolean;
/** children */
children: import('svelte').Snippet;
}
/**
* Default variant wrapper
*
* **Import**
* this component is the default variant and cannot be imported
*
* **Use**
* N.A.
*
* **Props**
* @prop wrapper: HTMLElement | undefined — DOM element of the wrapper element
* @prop isOpen: boolean — indicator of the popup state
* @prop isDialog: boolean — if set to true, the wrapper should have a dialog role and be absolute. It should be relative otherwise
* @prop children: import('svelte').Snippet — children
*/
declare const Wrapper: import("svelte").Component<Props, {}, "wrapper">;
type Wrapper = ReturnType<typeof Wrapper>;
export default Wrapper;