blob: 0f96586ec1eaa507b35a41b4e0aad9688681ef33 (
plain) (
tree)
|
|
import { colors } from '@0xproject/react-shared';
import * as React from 'react';
export interface RequiredLabelProps {
label: string | React.ReactNode;
}
export const RequiredLabel = (props: RequiredLabelProps) => {
return (
<span>
{props.label}
<span style={{ color: colors.red600 }}>*</span>
</span>
);
};
|