import { ColorPicker } from 'antd'
import React from 'react'
import { Label } from 'reactstrap'

const Hex =  ({ label, value, onChange }:any) => {
  return (
    <Label className="tabstext">
        
        {label}
        <ColorPicker onChange={onChange} defaultValue={value} size="small" />

        </Label>


  )
}

export default Hex