how react usestate type is implemented code example Example: type usestate([]) const [products, setProducts] = useState<Props[]>([]);