`xs: 0px` cannot be assigned as minimum breakpoint.
Closed this issue · 4 comments
nedelyux commented
Then why is it in default Breakpoints if I can't write a regular piece of code
[up('xs')(props)]: { flexBasis: "calc(100% / 1)", },
[up('sm')(props)]: { flexBasis: "calc(100% / 2)", },
[up('md')(props)]: { flexBasis: "calc(100% / 3)", },
I don't want to write down('sm')
mg901 commented
@nedelyux Hi! (: I don't understand what do you want? Can you make an example for you case on Codesandbox?
nedelyux commented
@mg901 Sure. I have an error when use up('xs'). I want to get valid code when I think about styles from 0px to SM breakpoint, instead of down('sm')
https://codesandbox.io/s/crazy-oskar-levk0i?file=/src/App.js
https://levk0i.csb.app/