Skip to main content

Sometimes adding nested instance to a component you don’t need access to all properties of this instance.

For example user wanna add existing button component to a bottom sheet component. Button component has several properties such as style, size, icon, label, etc. and all of them will be added to the bottom sheet component. But for these case the user needs only the label to be manageable, another properties should be permanent. So manageable list of properties for a nested instances will make properties layout more clear, easier to work with and will reduce number of accidental mistakes, when somebody can change property that should be permanent.


Be the first to reply!

Reply