Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 795 Bytes

Number.mdx

File metadata and controls

39 lines (30 loc) · 795 Bytes
route menu
/components/number
Components

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

Number

Easy input for numbers, mobile optimized. It automatically uses context[name] as the initial value

Properties

MML string

<mml type="card">
  <image src="https://getstream.github.io/mml-react/public/window.jpg" />
  <number name="windows" value="12" />
  <button name="confirm" value="Confirm">Confirm</button>
</mml>

Basic usage

Confirm `} />