mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-12-01 02:13:36 +01:00
docs: Fix code snippets syntax highlighting & some refactoring
This commit is contained in:
@@ -3,8 +3,9 @@ using in foris forms.
|
||||
|
||||
All additional `props` are passed to the `<input type="text">` HTML component.
|
||||
|
||||
```js
|
||||
```jsx
|
||||
import { useState } from "react";
|
||||
|
||||
const [value, setValue] = useState("Bla bla");
|
||||
|
||||
<TextInput
|
||||
|
||||
Reference in New Issue
Block a user