misc_pterodactyl-panel/resources/scripts/components/elements/Label.tsx

10 lines
268 B
TypeScript
Raw Normal View History

2022-11-25 20:25:03 +00:00
import styled from 'styled-components';
2020-07-04 19:39:55 +00:00
import tw from 'twin.macro';
const Label = styled.label<{ isLight?: boolean }>`
2020-09-13 17:49:57 +00:00
${tw`block text-xs uppercase text-neutral-200 mb-1 sm:mb-2`};
2022-11-25 20:25:03 +00:00
${props => props.isLight && tw`text-neutral-700`};
2020-07-04 19:39:55 +00:00
`;
export default Label;