mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-10-15 00:23:36 +02:00
docs: Fix code snippets syntax highlighting & some refactoring
This commit is contained in:
@@ -5,8 +5,9 @@ All additional `props` are passed to the `<input type="number">` HTML component.
|
||||
|
||||
Unless `helpText` is set for one of the options they are displayed inline.
|
||||
|
||||
```js
|
||||
```jsx
|
||||
import { useState } from "react";
|
||||
|
||||
const CHOICES = [
|
||||
{ value: "one", label: "1" },
|
||||
{ value: "two", label: "2" },
|
||||
|
Reference in New Issue
Block a user