UIChip

An chip component for presents selection and choices

Since: 7.0.0 (6.0.0)

Example

import {UIChip} from 'writer'

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

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

type

Available types

The UIChip.props.type has following variations: