import React, { useState } from 'react'; import Select from 'react-select'; import { colourOptions } from '../data'; const Checkbox = ({ children, ...props }: JSX.IntrinsicElements['input']) => ( ); export default () => { const [isClearable, setIsClearable] = useState(true); const [isSearchable, setIsSearchable] = useState(true); const [isDisabled, setIsDisabled] = useState(false); const [isLoading, setIsLoading] = useState(false); const [isRtl, setIsRtl] = useState(false); return ( <>