Skip to content

Profectus / features/challenges/challenge / createChallenge

Function: createChallenge() ​

createChallenge<T>(optionsFunc): any

Lazily creates a challenge with the given options.

Type Parameters ​

• T extends ChallengeOptions

Parameters ​

optionsFunc ​

() => T

Challenge options.

Returns ​

any

Defined in ​

profectus/src/features/challenges/challenge.tsx:106