Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 399 Bytes

Cartesian.md

File metadata and controls

22 lines (17 loc) · 399 Bytes

Cartesian

Display the cartesian product of component props

import React from 'react'
import { Cartesian } from '@compositor/kit'
import Button from '../src/Button'

export default props => (
  <Cartesian
    component={Button}
    m={4}
    fontSize={[1, 2, 3]}
    bg={['blue', 'pink', 'tomato', 'purple']}
    children={['Hello, world!', 'Beep']}
  />
)