A responsive 8-point grid system layout for React using styled-components
MIT License
Published by santosfrancisco about 5 years ago
Published by santosfrancisco over 5 years ago
Published by santosfrancisco over 5 years ago
#49 - fails on pass other props to column
Published by santosfrancisco over 5 years ago
Published by santosfrancisco over 5 years ago
include box-sizing: border-box
on Container
Published by santosfrancisco almost 6 years ago
Published by santosfrancisco almost 6 years ago
ScreenClass receive a prop named render
and renders this by passing the current screen as parameter
<Container>
<Row>
<Col debug><ScreenClass render={(screen) => (
<p style={{ color: ['sm', 'md'].includes(screen) ? 'red' : 'purple' }}>Hello! Actual screen is {screen}</p>
)} />
</Col>
</Row>
</Container>
Published by santosfrancisco almost 6 years ago
Published by santosfrancisco about 6 years ago
increase code coverage
Published by santosfrancisco about 6 years ago
Published by santosfrancisco about 6 years ago
Published by santosfrancisco about 6 years ago
Published by santosfrancisco about 6 years ago
Published by santosfrancisco about 6 years ago
Welcome v1.1.0!
Published by santosfrancisco about 6 years ago