-
Notifications
You must be signed in to change notification settings - Fork 45
feat: introduce rowRendererRight #37
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
Conversation
…to refactor/stu-313-masks
mallachari
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good in general. I'll run it locally but for now just few comments.
|
I reviewed the code and it's alright. If the component looks okay, we can merge it. I'm not fully happy with that renderer prop, yet I won't reject PR because of this. |
Cool! Thank you, can you please hit approve in such case? Would get one dependency ticked off. |
|
🎉 This PR is included in version 2.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What change is introduced
rowRendererRightagnostic of the content (will enable Studio to render checkboxes). This component renders arbitrary elements on the right hand side of the row.schemaControlsRendereragnostic of the content (will enable Studio to render 'apply mask' and 'clear mask' buttons). This renders any content right under the JSON SchemarowRendererRighthad any margin or modified height in any way. it resulted in that parent's calculated height to be altered and therefore the relative positionig of divider become broken. We had to usecalcbut it's supported by all major browsers.See a storybook with example checkbox added.