Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
purrseus authored Feb 4, 2025
1 parent 8ff6d6e commit a13faa7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ And hide it by calling the `hide` method.
```tsx
Xenon.hide();
```
> [!WARNING]
> By default, `<Xenon.Component />` is **visible in all environments**. If you don’t want it to show in certain environments (like **production**) to prevent end users from accessing it, you can hide it with a simple condition. For example:
> ```tsx
> {!isProduction && <Xenon.Component />}
> ```
Alternatively, you can use any approach that restricts access to the component, ensuring only your development team can interact with it.
## Props
Expand Down

0 comments on commit a13faa7

Please sign in to comment.