Skip to content
This repository was archived by the owner on May 19, 2022. It is now read-only.

Navbar Component and Generic Components #47

Draft
wants to merge 46 commits into
base: master
Choose a base branch
from

Conversation

bjoernmayer
Copy link
Owner

@bjoernmayer bjoernmayer commented Nov 10, 2020

Fixes #11

Groundwork for the navbar component is done.

Thing is: For the brand component I created the DOMWrap. Which I can use for many more components, if not all.

This would give the user to total control how bootstrap components should be rendered. PR is going to be huge

Oh Boy.. it does not stop. I also find a way to identify ReactElements without having to use "Identifiable"

  • Change Alert into AbstractDomComponent
  • Change ClosingElement into AbstractDomComponent
  • Change Navs to DomComponents
  • Change Display to AbstractDomComponent
  • Polish Navbar.Brand
  • Create Navbar.Nav component
  • Create NavBar.Text
  • Navbar Reference
  • Remove "AbstractComponent"
  • Remove "CustomisableComponent"
  • Rename AbstractDomComponent to AbstractComponent
  • Rename DomComponent to CustomisableComponent

- introduce new HOC DomWrap
- move WithRendererTag into CustomisableComponent
@bjoernmayer bjoernmayer self-assigned this Nov 10, 2020
@bjoernmayer bjoernmayer changed the title Navbar Component Navbar Component and Generic Components Nov 11, 2020
- simplifiy component identification
- remove ElementBuilder
…o sense

- change alert into AbstractDomComponent although work is still needed. Child elements are currently available everywhere
- rename SuperAbstractDomComponent to DomComponent
- make AbstractDomComponent extend DomComponent
- fun interface for activeLinkPredicate
- reduce visibility of alert sub components by using a custom domBuilder
- rename `mapComponents` to `onEachComponent`
- optimise behaviour logic in ButtonGroup and add some useful comments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Navbar Component
1 participant