Skip to content

Profectus / features/bars/bar / createBar

Function: createBar() ​

createBar<T>(optionsFunc): any

Lazily creates a bar with the given options.

Type Parameters ​

• T extends BarOptions

Parameters ​

optionsFunc ​

() => T

Bar options.

Returns ​

any

Defined in ​

profectus/src/features/bars/bar.tsx:64