Media queries with effector24 февраля 2019 г. · 4 мин. чтенияZero BiasEffector Core TeamHi!In this article I will show how to make react component which will work like thisconst Button = () => ( <> <Screen landscape large> [large wide button] </Screen> <Screen portrait small medium> [compact button] </Screen> </>)Скопировать