Skip to content

Instantly share code, notes, and snippets.

@kettanaito
Created June 25, 2018 09:48
Show Gist options
  • Save kettanaito/ea9fcb7325d820692229fcfc251944b8 to your computer and use it in GitHub Desktop.
Save kettanaito/ea9fcb7325d820692229fcfc251944b8 to your computer and use it in GitHub Desktop.
Atomic layout - Numeric (combination)
import { Composition } from 'atomic-layout'
<Composition
gutter={10} // compiles to "10px" of "grid-gap"
padding="2rem" // compiles to explicit "2rem" of "padding"
height="95vh" // compiles to explicit "95vh" of "height"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment