import React from 'react'
import { snapshot } from '../utils/test-utils'
import { GridCellChips } from './cell-chips'

describe('GridCellChips', () => {
    snapshot('Minimal props', <GridCellChips tabIndex={0} />)
    snapshot(
        'String values',
        <GridCellChips tabIndex={0} value={['one', 'two', 'three']} />
    )
    snapshot(
        'Object values',
        <GridCellChips
            tabIndex={0}
            value={[{ label: 'one' }, { label: 'two' }, { label: 'three' }]}
        />
    )
})
