Closed luckylwk closed 5 years ago
Added the following first step for the onboard @jonashaefele:
onboard
{ slug: 'hello', title: 'Hello!', type: 'md', actions: [ // { label: 'I want to learn more', navigate: 'next' }, { label: 'I want to learn more', navigate: 'goto', slide: 'overview' }, { label: 'Get started', navigate: 'goto', slide: 'name' } ], lede: `Lipsum`, body: `Lipsum`, },
and then realized we can't define styling for the navigate: 'goto' buttons. It will by default become primary when using navigate: 'next'. Something to implement when moving the SteppedForm over to HDS
navigate: 'goto'
navigate: 'next'
SteppedForm
just add variant: 'primary' or variant: 'subtle to the button. It'll forward the variant key from the action object to the button.
variant: 'primary'
variant: 'subtle
Added the following first step for the
onboard
@jonashaefele:and then realized we can't define styling for the
navigate: 'goto'
buttons. It will by default become primary when usingnavigate: 'next'
. Something to implement when moving theSteppedForm
over to HDS