feat: Add initial value to uiHelpers function
<!--
Thanks for creating this pull request 🤗
Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one.
-->
<!-- If this pull request closes an issue, please mention the issue number below -->
## 📑 Description
<!-- Add a brief description of the pr -->
Adds a parameter to uiHelpers that is used to create the initial state. This way
```
<script>
const nav= uiHelpers();
nav.isOpen.isOpen = true
</script>
// nav should start open
<Navbar navStatus={nav.isOpen} breakPoint="md" hamburgerMenu={false}>
```
turns into
```
<script>
const nav= uiHelpers(true);
</script>
// nav should start open
<Navbar navStatus={nav.isOpen} breakPoint="md" hamburgerMenu={false}>
```
<!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax
- [ ] Not Completed
- [x] Completed
-->
## ✅ Checks
<!-- Make sure your pr passes the tests and do check the following fields as needed - -->
- [x] My pull request adheres to the code style of this project
- [x] My code requires changes to the documentation
- [x] I have updated the documentation as required
- [x] All the tests have passed
## ℹ Additional Information
<!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behavior, etc. -->
合并状态:未合并 3 条评论