import { Icon } from 'semantic-ui-react';
import { Link } from 'react-router-dom';
import * as React from 'react';
export var DELETE_COLUMN = {
    render: function (i, a) { return <Icon title="Delete" color="red" name="trash" style={{ cursor: 'pointer' }} onClick={function () { return a.delete(); }}/>; },
    cellProps: { width: 1, textAlign: 'center' }
};
export var EDIT_COLUMN = {
    render: function (i, a) { return a.editLink ?
        <Link to={a.editLink(i)}><Icon title="Edit" name="pencil" style={{ cursor: 'pointer' }}/></Link>
        : a.editAction
            ? <Icon title="Edit" name="pencil" style={{ cursor: 'pointer' }} onClick={function () { return a.editAction(i); }}/>
            : <></>; },
    cellProps: { width: 1, textAlign: 'center' }
};
