@revolist/revogrid / 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): 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.
Parameters
Parameter | Type |
---|---|
tag | any |
Returns
T
Defined in
interface HyperFunc(tag: any, data: any): 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.
Parameters
Parameter | Type |
---|---|
tag | any |
data | any |
Returns
T
Defined in
interface HyperFunc(tag: any, text: string): 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.
Parameters
Parameter | Type |
---|---|
tag | any |
text | string |
Returns
T
Defined in
interface HyperFunc(sel: any, children: (undefined | null | T)[]): 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.
Parameters
Parameter | Type |
---|---|
sel | any |
children | (undefined | null | T )[] |
Returns
T
Defined in
interface HyperFunc(
sel: any,
data: any,
text: string): 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.
Parameters
Parameter | Type |
---|---|
sel | any |
data | any |
text | string |
Returns
T
Defined in
interface HyperFunc(
sel: any,
data: any,
children: (undefined | null | T)[]): 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.
Parameters
Parameter | Type |
---|---|
sel | any |
data | any |
children | (undefined | null | T )[] |
Returns
T
Defined in
interface HyperFunc(
sel: any,
data: any,
children: T): 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.
Parameters
Parameter | Type |
---|---|
sel | any |
data | any |
children | T |
Returns
T