import React from 'react';
import { Asterisk as AsteriskIcon } from '@wix/wix-ui-icons-common/system';
import { dataHooks } from '../../constants';
import { st, classes } from './Asterisk.st.css.js';
import { useIcons } from '../../../WixDesignSystemIconThemeProvider';
const Asterisk = ({ labelSize }) => {
    const icons = useIcons('FieldSetAsterisk', {
        Asterisk: AsteriskIcon,
    });
    return (React.createElement("div", { "aria-hidden": true, "data-hook": dataHooks.asterisk, className: st(classes.root, {
            labelSize,
        }) },
        React.createElement(icons.Asterisk, null)));
};
export default Asterisk;
//# sourceMappingURL=Asterisk.js.map