Skip to content

Conversation

walaura
Copy link
Contributor

@walaura walaura commented Jan 8, 2020

Add a <Toolbar /> component to wrap elements like tabbars

🌈 Demo 🌈

Screenshots

Screen Shot 2020-01-08 at 4 55 52 pm

Screen Shot 2020-01-08 at 4 55 56 pm

@codecov
Copy link

codecov bot commented Jan 8, 2020

Codecov Report

Merging #1203 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1203   +/-   ##
=======================================
  Coverage   53.73%   53.73%           
=======================================
  Files          76       76           
  Lines        3413     3413           
  Branches      650      650           
=======================================
  Hits         1834     1834           
  Misses       1361     1361           
  Partials      218      218

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2daa863...3d1ce47. Read the comment docs.

@acao
Copy link
Member

acao commented Jan 8, 2020

ah! i see what you've done here. looks very nice

import PropTypes from 'prop-types';

const ListRow = ({ children, flex = false, padding = true }) => (
const ListRow = ({ children, flex = false, padding = false }) => (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i like making padding explicit, excellent idea

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm a bit conflicted bc ideally itll always be the children of listrow that have padding but it comes in super handy for storybook bc it's mostly text blocks if that makes sense?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah that does make sense

@walaura
Copy link
Contributor Author

walaura commented Jan 9, 2020

hold up why are the tabs listed twice on storybook will have a look

@acao acao merged commit adb73f5 into graphql:master Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants