import { TextInput, TextInputOpts } from './text' import './color.less' /** * 颜色输入框 */ export class ColorInput extends TextInput { constructor( colorOpts: Omit ) { super(colorOpts) this.input.type = 'color' } }