Skip to content

RevoGrid Documentation v4.20.5 / JSX / OneOf

Type Alias: OneOf<K, PropT, AttrT>

ts
type OneOf<K, PropT, AttrT>: { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never };

Type Parameters

Type ParameterDefault type
K extends string-
PropT-
AttrTPropT

Defined in

src/components.d.ts:1341