Type alias ComponentStringType<T>

ComponentStringType<T>: T extends Component<infer R> ? R : string

Plucks the string type out of a component type

Type Parameters

  • T