var __rest = (this && this.__rest) || function (s, e) {
    var t = {};
    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
        t[p] = s[p];
    if (s != null && typeof Object.getOwnPropertySymbols === "function")
        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
                t[p[i]] = s[p[i]];
        }
    return t;
};
import React from 'react';
import { D10 } from './images/D10';
import { D100 } from './images/D100';
import { D12 } from './images/D12';
import { D20 } from './images/D20';
import { D4 } from './images/D4';
import { D6 } from './images/D6';
import { D8 } from './images/D8';
const Icon = {
    d100: D100,
    d20: D20,
    d12: D12,
    d10: D10,
    d8: D8,
    d6: D6,
    d4: D4,
};
export const DieIcon = (_a) => {
    var { forDie } = _a, props = __rest(_a, ["forDie"]);
    const D = Icon[forDie];
    return React.createElement(D, Object.assign({}, props));
};
//# sourceMappingURL=DieIcon.js.map