mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-06-15 13:36:35 +02:00
docs: Fix code snippets syntax highlighting & some refactoring
This commit is contained in:
@ -4,7 +4,7 @@ for using in foris forms. Can be used with "eye" button, see example.
|
||||
All additional `props` are passed to the `<input type="password">` HTML
|
||||
component.
|
||||
|
||||
```js
|
||||
```jsx
|
||||
import { useState } from "react";
|
||||
const [value, setValue] = useState("secret");
|
||||
|
||||
|
Reference in New Issue
Block a user