Improve reusability of UI components
As pointed out by @malexsan1 and @bogdan, the <Menu><Option/></Menu>
component is hard to reuse, and so is <AppBar></AppBar>
. It was suggested that we pass in <Option>
as a child to the <Menu>
component, in case you want e.g. style <Option>
differently. <Menu>
should come with a default but possibly overriden.
<AppBar>
should be a vessel for anything you want in the menu. We should be able to reuse both Menu and AppBar across projects.
@aanand Care to present how you imagine that happening and what the drawbacks/benefits would be?
Paging @malexsan1, @John.kopanas, @bogdan and @aanand to fill in the gaps here.