UNPKG

alwan

Version:

A simple, lightweight, customizable, touch friendly color picker, written in vanilla javascript with zero dependencies.

5 lines (4 loc) 394 B
import { Alwan } from "../alwan"; import type { Component, IInputs, ISelector, ISliders, ISwatches, IUtility, alwanConfig } from "../types"; export declare const createComponents: (alwan: Alwan) => [ISelector, IUtility, ISliders, IInputs, ISwatches]; export declare const renderComponents: (components: Array<Component | Component[]>, config: alwanConfig) => Array<Element | null | undefined>;