import { __rest, __assign } from '../../node_modules/tslib/tslib.es6.js';
import React, { forwardRef } from 'react';
import { Input } from '@chakra-ui/react';

var ColorPicker = forwardRef(function (_a, ref) {
    var _b = _a.width, width = _b === void 0 ? '36px' : _b, _c = _a.padding, padding = _c === void 0 ? '0' : _c, props = __rest(_a, ["width", "padding"]);
    return (React.createElement(Input, __assign({}, props, { type: "color", ref: ref, width: width, padding: padding, cursor: "pointer" })));
});
ColorPicker.displayName = 'ColorPicker';

export { ColorPicker as default };
//# sourceMappingURL=index.js.map
