On Home, Settings, Field result, Unavailable
Emphasised next action
Source
@react.component
let make = () =>
<>
<KitReact.Roles.ActionGroup
lead=EmphasisedNextAction({children: React.string("Review invoice")})
return={<KitReact.Roles.WayBack href="../../record/">{React.string("Return to invoice")}</KitReact.Roles.WayBack>}
routes={<a href="../../list/">{React.string("View invoices")}</a>}
/>
<KitReact.Roles.ActionGroup
lead=PrimaryAction({children: React.string("Save changes")})
secondary=[
SecondaryAction({children: React.string("Review invoice")}),
]
/>
</>
Emphasised next action, submitting
Source
@react.component
let make = () =>
<>
<KitReact.Roles.EmphasisedNextAction submitting=true>
{React.string("Review invoice")}
</KitReact.Roles.EmphasisedNextAction>
</>