react-view icon indicating copy to clipboard operation
react-view copied to clipboard

React View is an interactive playground, documentation and code generator for your components.

Results 27 react-view issues
Sort by recently updated
recently updated
newest added

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...

question

![Screenshot 2020-06-09 at 6 30 20 PM](https://user-images.githubusercontent.com/43617894/84150281-47c6c980-aa7f-11ea-9eae-e13c43946df1.png) Currently the knobs are applicable to the root component _(Button)_ only , I propose to add knobs for the child component _(input)_ also.

enhancement

``` ``` 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. ![Screenshot 2020-05-22...

bug

Today, it's always a string and needs to be an expression. That can get unreadable for some more [complex cases](https://github.com/uber/baseweb/pull/2501/files#diff-7b847a439548221d913142a5bc735a04R53-R58). Explore adding an option to pass a function and stringify...

enhancement

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: ```...

enhancement

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...

help wanted

- [ ] 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...

enhancement

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...

dependencies

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. ![image](https://user-images.githubusercontent.com/8396656/230439137-4ff88db3-ee1a-4545-882a-4623b49f44b4.png) Is any of you might have an idea from...