-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DecorativeBox] Issue #179
Comments
I'm not finding a component with that name anywhere in the codebase - can you add more steps on how to reproduce? |
It's not exported in Radix Themes, it's just a component used in docs for illustrative purposes when demonstrating layout elements that don't have any visual aspect to them. |
I am confused.. it is used in the examples everywhere but its not a part of the actual code? |
Yes it's a component that's only exposed to our docs MDX file so we can render it in our docs but it's not a component that intended to be part of the package for users to use. |
This is ridiculous. Why bother adding to examples sth i can't copy and try? |
You are free to copy it from the source code, library authors made a decision not to make it publicly usable, for whatever reason and it's totally alright. |
Hello, I am new to Radix ui, while trying the components with the documentation, I saw that the component named "DecorativeBox" gave an error in all kinds of scenarios, I think this is a mistake, information about the version and errors are as follows.
"@radix-ui/themes": "^2.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"node version": 18
does not provide an export named 'DecorativeBox'
nodule is not available for module and package and I could not find any information about it why there is no information about it or is it purely representative
The text was updated successfully, but these errors were encountered: