refactor: Add h1 headers to all pages missing it (#137)

* refactor: Add h1 headers to all pages missing it

* refactor: missed example h3

* change hooks example heading to bold text

---------

Co-authored-by: Luke <[email protected]>
This commit is contained in:
JagandLuke authored and GitHub committed 2023-07-08 11:08:43 +02:00
1 parent 74227cc262
commit 1d2c490b26
95 files changed
+2167 -2289

No files matched your search

@@ -5,39 +5,33 @@ title: Clipboard
import { Tabs, Tab } from 'nextra-theme-docs';
import { Callout } from 'nextra/components';
### lib.setClipboard
# Clipboard
## lib.setClipboard
Sets the player's clipboard to the specified string value.
<Callout>
Will not work if focus is already taken by some NUI component.
Will not work if focus is already taken by some NUI component.
</Callout>
<Callout>
To create a new line use `\t\n` not just `\n` in your string.
To create a new line use `\t\n` not just `\n` in your string.
</Callout>
<Tabs items={["Lua", "JS"]}>
<Tab>
<Tab>
```lua
lib.setClipboard(value)
```
</Tab>
<Tab>
```ts
import lib from '@overextended/ox_lib/client';
```lua
lib.setClipboard(value)
```
</Tab>
<Tab>
```ts
import lib from '@overextended/ox_lib/client';
lib.setClipboard(value);
```
</Tab>
lib.setClipboard(value);
```
</Tab>
</Tabs>
- value: `string`