how to define type for a usestate in react code example Example: type usestate([]) const [products, setProducts] = useState<Props[]>([]);