Files
cv/app/frontend/src/components/common/Text/Caption.tsx
T
Arnie ad183bbc0e Change Caption component tag from a caption to div
Caption tag can only reside in specific context, this change

makes it more generic, so it can be used freely
2023-06-02 13:43:45 +02:00

15 lines
309 B
TypeScript

import styled from "@emotion/styled";
const Caption = styled("div")(({ theme }) => ({
color: theme.palette.text.secondary,
fontSize: "0.75rem",
lineHeight: 1.5,
margin: 0,
marginBottom: "0.5rem",
display: "block",
textAlign: "unset",
textTransform: "uppercase",
}));
export default Caption;