import React from "react"; import classnames from "classnames"; import { TextProps } from "../Text"; import Styles from "../Text.module.css"; const Caption: React.FunctionComponent = (props: TextProps) => { const classes = classnames(Styles["text--caption"], props?.className, props?.color); return

{props.children}

; }; export default Caption;