Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 450 Bytes

primitives.md

File metadata and controls

27 lines (19 loc) · 450 Bytes

Primitives

Fancy has the ability to create styled HTML primitive components (heavily inspired by styled-components).

Example

import styled from '@helpscout/fancy'

const Card = styled('div')`
  background: yellow;
  position: relative;
  border: 1px solid black;
`

const App = () => (
  <div id="App">
    <Card />
  </div>
)

See also