import { c, classy } from '@onfido/castor';
import React from 'react';
import { withRef } from '../../utils';
/**
* Use in `FieldLabel` to denote required fields.
*/
export const Asterisk = withRef(function Asterisk(
{ className, ...restProps }: AsteriskProps,
ref: AsteriskProps['ref']
) {
return (
{' *'}
);
});
export type AsteriskProps = Omit;