"use client" import { Button as ButtonRAC } from "react-aria-components" import { MaterialIcon } from "../Icons/MaterialIcon" import { Typography } from "../Typography" import { variants } from "./variants" import styles from "./backToTopButton.module.css" import type { VariantProps } from "class-variance-authority" import type { ComponentProps } from "react" interface BackToTopButtonProps extends ComponentProps, VariantProps { label: string } export function BackToTopButton({ position, label, ...props }: BackToTopButtonProps) { const classNames = variants({ position }) return ( {label} ) }