@k8slens/extensions / Exports / Renderer / Component / Wizard
Class: Wizard<D>#
Type parameters#
Name |
---|
D |
Hierarchy#
Component
<WizardProps
<D
>,State
>
↳ Wizard
Table of contents#
Constructors#
Properties#
Accessors#
Methods#
Constructors#
constructor#
• new Wizard<D
>(props
)
Type parameters#
Name |
---|
D |
Parameters#
Name | Type |
---|---|
props |
WizardProps <D > | Readonly <WizardProps <D >> |
Inherited from#
React.Component<WizardProps<D>, State>.constructor
• new Wizard<D
>(props
, context
)
Deprecated
See
https://legacy.reactjs.org/docs/legacy-context.html
Type parameters#
Name |
---|
D |
Parameters#
Name | Type |
---|---|
props |
WizardProps <D > |
context |
any |
Inherited from#
React.Component<WizardProps<D>, State>.constructor
Properties#
firstStep#
• firstStep: () => any
Type declaration#
▸ (): any
Returns#
any
isFirstStep#
• isFirstStep: () => boolean
Type declaration#
▸ (): boolean
Returns#
boolean
isLastStep#
• isLastStep: () => boolean
Type declaration#
▸ (): boolean
Returns#
boolean
lastStep#
• lastStep: () => any
Type declaration#
▸ (): any
Returns#
any
nextStep#
• nextStep: () => any
Type declaration#
▸ (): any
Returns#
any
prevStep#
• prevStep: () => any
Type declaration#
▸ (): any
Returns#
any
state#
• state: State
Overrides#
React.Component.state
Accessors#
step#
• get
step(): number
Returns#
number
• set
step(step
): void
Parameters#
Name | Type |
---|---|
step |
number |
Returns#
void
steps#
• get
steps(): ReactElement
<WizardStepProps
<D
>, string
| JSXElementConstructor
<any
>>[]
Returns#
ReactElement
<WizardStepProps
<D
>, string
| JSXElementConstructor
<any
>>[]
Methods#
getValidStep#
▸ Protected
getValidStep(step
): number
Parameters#
Name | Type |
---|---|
step |
number |
Returns#
number
render#
▸ render(): Element
Returns#
Element
Overrides#
React.Component.render