uber / react-view

React View is an interactive playground, documentation and code generator for your components.
https://react-view.pages.dev
MIT License
695 stars 48 forks source link

remove className from useView props to reflect behaviour #73

Closed MynockSpit closed 3 years ago

MynockSpit commented 3 years ago

This is just updating the types to reflect that className isn't used by useView or exported in its output.

Should it? That's a different discussion: we'd have to decide which of the three components it applied to or add new props and prefix them in some manner (e.g. compilerClassName, editorClassName, and errorClassName).

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

MynockSpit commented 3 years ago

Edit: Updated View to use TViewParams instead of TUseViewParams.