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:318

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:326

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:334

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:343

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:352

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:361

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:370

Revogrid is a MIT-licensed open source library made by Revolist OU.