react-view
react-view copied to clipboard
React View is an interactive playground, documentation and code generator for your components.
currently variables inside the function body are only made available when they are passed to the component itself and are mentioned `stateful:true` , no support for other type of variables...
 Currently the knobs are applicable to the root component _(Button)_ only , I propose to add knobs for the child component _(input)_ also.
``` ``` I tried changing the default theme of the playground components such as error message, checkboxes, sliders but faced errors. Is there something wrong with my implementation. . Explore adding an option to pass a function and stringify...
I've recently been writing a lot of "stringified JSX", which can become quite hard to maintain. Would it be possible to provide `props.value` or `initialCode` as JSX? For example: ```...
I assume that the Copy URL button should work the same as it does in [baseweb.design](https://baseweb.design/components/checkbox/?code=import%20*%20as%20React%20from%20%22react%22%3B%0Aimport%20%7B%20Checkbox%20%7D%20from%20%22baseui%2Fcheckbox%22%3B%0A%0Aexport%20default%20()%20%3D%3E%20%7B%0A%20%20const%20%5Bchecked%2C%20setChecked%5D%20%3D%20React.useState(true)%3B%0A%20%20return%20(%0A%20%20%20%20%3CCheckbox%0A%20%20%20%20%20%20checked%3D%7Bchecked%7D%0A%20%20%20%20%20%20onChange%3D%7Be%20%3D%3E%20setChecked(e.target.checked)%7D%0A%20%20%20%20%3E%0A%20%20%20%20%20%20Sign%20up%20for%20the%20newsletter%0A%20%20%20%20%3C%2FCheckbox%3E%0A%20%20)%3B%0A%7D). Although, out of the box, the code does not seem to be added as...
- [ ] in [our baseweb](https://baseweb.design/components/button-group/) application you can hover over component names in the editor and get a tooltip with flow types, we use `extract-react-types-loader` and the flexibility of...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.5 to 5.0.12. Changelog Sourced from vite's changelog. 5.0.12 (2024-01-19) fix: await configResolved hooks of worker plugins (#15597) (#15605) (ef89f80), closes #15597 #15605 fix: fs deny for...
We are facing a issue where our component requires a `ref` to be passed to the component. We are passing `ref` to `useView` via the scope property. ``` scope={{ ref:...
I m trying to use React View with Next 12.2.3 but I m having an error that fail the compilation.  Is any of you might have an idea from...