mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-03 06:28:53 +00:00
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:
1 parent
74227cc262
commit
1d2c490b26
95 files changed
+2167
-2289
No files matched your search
@@ -1,14 +1,16 @@
|
||||
---
|
||||
title: Custom stashes
|
||||
title: Custom Stashes
|
||||
---
|
||||
|
||||
import { GhButton } from '@components/button';
|
||||
|
||||
# Custom Stashes
|
||||
|
||||
We can set up custom stashes from outside the resource utilising the exported RegisterStash function.
|
||||
|
||||
Firstly, we need to define the stashes properties.
|
||||
|
||||
### Stash properties
|
||||
## Stash properties
|
||||
|
||||
- id: `string`
|
||||
- Unique name to identify the stash in the database.
|
||||
@@ -81,8 +83,8 @@ if ox_inventory:openInventory('stash', property.id) == false then
|
||||
end
|
||||
```
|
||||
|
||||
## Example resource
|
||||
## Example Resource
|
||||
|
||||
We put together an example resource showcasing how to properly utilise the stash API:
|
||||
|
||||
<GhButton link="https://www.github.com/overextended/ox_inventory_examples" />
|
||||
<GhButton link="https://www.github.com/overextended/ox_inventory_examples" label="Ox Inventory Examples" />
|
||||
Reference in new issue
Block a user