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

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

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

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

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

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

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