@fortawesome/free-solid-svg-icons#faCalculator JavaScript Examples

The following examples show how to use @fortawesome/free-solid-svg-icons#faCalculator. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ColumnService.js    From vue-bootstrap-editable-table with The Unlicense 6 votes vote down vote up
static icon(type) {
        switch (type) {
            case TYPES.DATE:
                return faCalendarDay;
            case TYPES.URL:
                return faImage;
            case TYPES.JSON:
                return faCode;
            case TYPES.DOUBLE:
                return faCalculator;
            case TYPES.PERCENT:
                return faPercent;
            case TYPES.TEXT:
                return faAlignLeft;
        }
    }