Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Latest commit

 

History

History
103 lines (89 loc) · 2.28 KB

ButtonList.mdx

File metadata and controls

103 lines (89 loc) · 2.28 KB
route menu
/components/button-list
Components

import { Playground, Props } from 'docz'; import { ButtonList } from './ButtonList.tsx';

ButtonList

Display a list of buttons, a tyical usecase is allowing the user to select an option among a list. It is usually used in pair with some Button

Properties

MML string

<mml>
  <button_list>
    <button name="side" value="yes">
      Yes!
    </button>
    <button name="side" value="no">
      No, thanks
    </button>
  </button_list>
</mml>

Basic usage

Yes! No, thanks `} />

With floating variant

Yes! No, thanks `} /> How many days do you need? 1 2 3 4 5+ `} />

With icon only buttons

How do you feel about it? `} />