wip on switching from docz to docusaurus

This commit is contained in:
Erik Ziegler committed 2021-07-13 23:48:16 +02:00
1 parent 69e36106e3
commit 09469e6ac5
97 files changed
+1505 -7132

No files matched your search

@@ -1,41 +0,0 @@
---
name: InputText
menu: Form
route: components/InputText
---
import { useState } from 'react';
import { Playground, Props } from 'docz';
import { InputText } from '../';
# Input Text
## Import
```javascript
import { InputText } from '@ohif/ui';
```
## Basic usage
<Playground>
{() => {
const [text, setText] = useState('');
return (
<div className="flex flex-col flex-1 p-4 items-center">
<div className="w-56">
<InputText
label='Name'
value={text}
onChange={value => {setText(value)}}
/>
</div>
</div>
)
}}
</Playground>
## Properties
<Props of={InputText} />