mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-11-29 01:53:36 +01:00
docs: Fix code snippets syntax highlighting & some refactoring
This commit is contained in:
@@ -4,7 +4,7 @@ be used with `readOnly` and `disabled` parameters, please see an example.
|
||||
|
||||
All additional `props` are passed to the `<input type="text">` HTML component.
|
||||
|
||||
```js
|
||||
```jsx
|
||||
import React, { useState } from "react";
|
||||
const [value, setValue] = useState("Text to appear in clipboard.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user