UIChip

An chip component for presents selection and choices

Properties

Example

import {UIChip} from 'writer'

render($$) {
    const el = $$('div')

    return el.append(
        $$(UIChip, {
            thumbnail: 'https://image.png',
            value: 'Author name',
            onRemoveBtnClick: () => {}
        })
    )
}

Available types

The UIChip.props.type has following variations:

Last updated