ExtractPublicPropTypes<O>: {
    [K in keyof Pick<O, PublicRequiredKeys<O>>]: InferPropType<O[K]>
} & {
    [K in keyof Pick<O, PublicOptionalKeys<O>>]?: InferPropType<O[K]>
}

Extract prop types from a runtime props options object. The extracted types are public - i.e. the expected props that can be passed to component.

Type Parameters

  • O