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 Parameter | Default type |
|---|---|
K extends string | - |
PropT | - |
AttrT | PropT |