Welcome to system-media 👋
A React utility library to match your props to the given media query
Homepage
🏠Install
npm install system-media
Usage
Codesandbox Link:
https://codesandbox.io/s/crazy-zhukovsky-u18zw
import React from 'react'; import system from 'system-media'; const theme = // Default breakpoints used by styled-system breakpoints: '40em' '52em' '64em'; const Text = value <p = > value </p>; { const user = 'Dan Abramov'; const userDisplayNameMobile = user0; const userDisplayNameDesktop = user; return <div ="App"> <Text = /> </div> ;}
Author
👤 JM Santos johmichaelubas.santos@gmail.com
- Website: https://github.com/jmaicaaan
- Github: @jmaicaaan
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!