Skip to content

@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
ts
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

ParameterType
tagany

Returns

T

Defined in

src/types/interfaces.ts:319

ts
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

ParameterType
tagany
dataany

Returns

T

Defined in

src/types/interfaces.ts:335

ts
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

ParameterType
tagany
textstring

Returns

T

Defined in

src/types/interfaces.ts:343

ts
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

ParameterType
selany
children(undefined | null | T)[]

Returns

T

Defined in

src/types/interfaces.ts:352

ts
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

ParameterType
selany
dataany
textstring

Returns

T

Defined in

src/types/interfaces.ts:361

ts
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

ParameterType
selany
dataany
children(undefined | null | T)[]

Returns

T

Defined in

src/types/interfaces.ts:370

ts
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

ParameterType
selany
dataany
childrenT

Returns

T

Defined in

src/types/interfaces.ts:379

Revogrid is a powerful data grid library made by Revolist OU.