diff --git a/src/components/Text/OneLineContent.tsx b/src/components/Text/OneLineContent.tsx new file mode 100644 index 0000000..565a217 --- /dev/null +++ b/src/components/Text/OneLineContent.tsx @@ -0,0 +1,26 @@ +import { css, Theme } from "@emotion/react"; + +interface Props { + summary?: string; + highlight?: string; +} + +function OneLineContent({ summary, highlight }: Props) { + return ( + + {highlight} + {summary} + + ); +} + +export default OneLineContent; + +const summaryContent = css` + margin: 0.5rem 0; +`; + +const strongContent = (theme: Theme) => css` + color: ${theme.color.black}; + font-weight: ${theme.fontWeight.normal}; +`;