'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var React = require('react');
var styles = require('./styles.js');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefaultLegacy(React);

const ListItemSuffix = ({ suffix, variant }) => {
    return suffix.type === 'metaText' ? (React__default['default'].createElement(styles.ListItemMetaText, { variant: variant }, suffix.text)) : (React__default['default'].createElement(styles.ListItemSuffixWrapper, null, suffix.element));
};

exports.ListItemSuffix = ListItemSuffix;
