RevoGrid Documentation v4.15.8 / HyperFunc
Interface: HyperFunc()<T>
HyperFunc is a function that takes an HTML tag or component, and returns a JSX element. This function is used to create JSX elements in a context where JSX is not valid.
Type Parameters
| Type Parameter |
|---|
T |
interface HyperFunc(tag: any): THyperFunc is a function that takes an HTML tag or component, and returns a JSX element. This function is used to create JSX elements in a context where JSX is not valid.
Parameters
| Parameter | Type |
|---|---|
tag | any |
Returns
T
Defined in
interface HyperFunc(tag: any, data: any): THyperFunc is a function that takes an HTML tag or component, and returns a JSX element. This function is used to create JSX elements in a context where JSX is not valid.
Parameters
| Parameter | Type |
|---|---|
tag | any |
data | any |
Returns
T
Defined in
interface HyperFunc(tag: any, text: string): THyperFunc is a function that takes an HTML tag or component, and returns a JSX element. This function is used to create JSX elements in a context where JSX is not valid.
Parameters
| Parameter | Type |
|---|---|
tag | any |
text | string |
Returns
T
Defined in
interface HyperFunc(sel: any, children: (undefined | null | T)[]): THyperFunc is a function that takes an HTML tag or component, and returns a JSX element. This function is used to create JSX elements in a context where JSX is not valid.
Parameters
| Parameter | Type |
|---|---|
sel | any |
children | (undefined | null | T)[] |
Returns
T
Defined in
interface HyperFunc(
sel: any,
data: any,
text: string): THyperFunc is a function that takes an HTML tag or component, and returns a JSX element. This function is used to create JSX elements in a context where JSX is not valid.
Parameters
| Parameter | Type |
|---|---|
sel | any |
data | any |
text | string |
Returns
T
Defined in
interface HyperFunc(
sel: any,
data: any,
children: (undefined | null | T)[]): THyperFunc is a function that takes an HTML tag or component, and returns a JSX element. This function is used to create JSX elements in a context where JSX is not valid.
Parameters
| Parameter | Type |
|---|---|
sel | any |
data | any |
children | (undefined | null | T)[] |
Returns
T
Defined in
interface HyperFunc(
sel: any,
data: any,
children: T): THyperFunc is a function that takes an HTML tag or component, and returns a JSX element. This function is used to create JSX elements in a context where JSX is not valid.
Parameters
| Parameter | Type |
|---|---|
sel | any |
data | any |
children | T |
Returns
T