bridge-school / cohort3-final-project-catcall

Other
1 stars 7 forks source link

Created initial wrappers for styling and applied basic bootstrap styles #12

Closed talyh closed 6 years ago

talyh commented 6 years ago

Components now wrap a "StyledComponent" version, which in turn renders a Bootstrap+Styled-Component implementation (ie. Button wraps StyledButton which returns styled(React-Bootstrap.Button)

Bootstrap properties can be passed down (for instance ButtonbsStyle="primary" carries all the way down), Conditional styling can be done in the StyledComponents based off props passed into it, in the form of border: ${props => props['data-myprop'] ? '1px solid red' : '1px solid green'}. Additional handling of styling can be done in the StyledComponents, once we figure out layout guidelines.

Changes since last time this PR was up

Pending

WishList