Decision

Decision can be used for illustrating major decisions for the user. Because blocks will not wrap onto multiple lines, we suggest keeping the number of options under four when using presentation LIST_BLOCK.

When you need to present more than four blocks, you can use LIST_BLOCK_GRID presentation.

Decision can be used for illustrating major decisions for the user. Because blocks will not wrap onto multiple lines, we suggest keeping the number of options under four when using presentation LIST_BLOCK.

Props

NamePropTypeRequiredDefault ValueAllowed ValuesDescription
optionsarrayOftrue{description, disabled, href, target, media, onClick, title}A list of elements to be rendered
presentationenumfalsePresentation.LIST
  • LIST
  • LIST_BLOCK
  • LIST_BLOCK_GRID
Handles the display mode of the component
sizeenumfalseSize.MEDIUM
  • sm
  • md
Size currently affects only Tile dimension
typeenumfalseType.NAVIGATION
  • NAVIGATION
Decide which kind of element type needs to be rendered ex: Navigation Options or in the future Radio or Checkbox Options
Edit these docs on Github