2021-07-22 17:15:27 +00:00
|
|
|
import tw, { styled } from 'twin.macro';
|
2020-07-04 19:39:55 +00:00
|
|
|
|
2021-10-01 17:07:48 +00:00
|
|
|
const Label = styled.label<{ isLight?: boolean, noBottomSpacing?: boolean }>`
|
|
|
|
${tw`block text-xs uppercase text-neutral-200`};
|
|
|
|
${props => !props.noBottomSpacing && tw`mb-1 sm:mb-2`};
|
2020-07-04 19:39:55 +00:00
|
|
|
${props => props.isLight && tw`text-neutral-700`};
|
|
|
|
`;
|
|
|
|
|
|
|
|
export default Label;
|