Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

651 B
Raw Blame
import { cn } from "@rallly/ui";

export const DateIconInner = (props: {
  dow?: React.ReactNode;
  day?: React.ReactNode;
  month?: React.ReactNode;
  className?: string;
}) => {
  return (
    <div
      className={cn(
        "inline-flex size-10 flex-col overflow-hidden rounded-md border bg-card text-center text-card-foreground",
        props.className,
      )}
    >
      <div className="font-normal text-[10px] text-muted-foreground leading-4">
        {props.dow}
      </div>
      <div className="flex grow items-center justify-center font-medium text-sm leading-none tracking-tight">
        {props.day}
      </div>
    </div>
  );
};