You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dropdown specific wrapper component around aButton component
Screen shot, Button component with CaretIcon
This Button is the default state and control for the Dropdown component. The final Dropdown component will have 2 children, DropdownButton and DropdownMenu:
Separation of Concern is the big thing that I'm starting to think about as we build the DropdownButton component. DropdownButton and DropdownMenu are both Dumb Components:
"Dumb" Component Overview"
Basically we need to make sure that most of the functionality for both of these components is passed down as props from either Dropdown (top-level component) or from some other parent context. Let's make sure we talk about his in detail.
Dropdown specific wrapper component around a
Button
componentScreen shot,
Button
component withCaretIcon
This
Button
is the default state and control for theDropdown
component. The finalDropdown
component will have 2 children,DropdownButton
andDropdownMenu
:This pattern is modeled after the
React Bootstrap
Dropdown
componentThe text was updated successfully, but these errors were encountered: