ad183bbc0e
Caption tag can only reside in specific context, this change makes it more generic, so it can be used freely
15 lines
309 B
TypeScript
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;
|