# type (option)

Allows to specify a set of properties as a column 'type'.

import { type } from '@activewidgets/options';

const options = [
    type('money', {
        format: 'money', 
        width: 100, 
        align: 'right'
    })
];

// ...

const columns = [
    {
        field: 'item_price',
        type: 'money'
    }
];