fd57a35820
Release package / release (push) Successful in 1h12m42s
Co-authored-by: Thanh Quy - wolf <524H0124@student.tdtu.edu.vn> Reviewed-on: #28 Reviewed-by: TakahashiNguyen <takahashi.ng@icloud.com> Co-authored-by: TaNguyenThanhQuy <tanguyenthanhquy@noreply.localhost> Co-committed-by: TaNguyenThanhQuy <tanguyenthanhquy@noreply.localhost>
17 lines
298 B
TypeScript
17 lines
298 B
TypeScript
import type { CaptionProps } from "./Typography.types";
|
|
|
|
export default function Caption({
|
|
children,
|
|
className = "",
|
|
...props
|
|
}: CaptionProps) {
|
|
return (
|
|
<span
|
|
className={`text-xs text-(--color-text-muted) ${className}`}
|
|
{...props}
|
|
>
|
|
{children}
|
|
</span>
|
|
);
|
|
}
|