Files
web/components/TempDesignSystem/ShowMoreButton/showMoreButton.ts
2024-12-12 11:47:44 +01:00

14 lines
399 B
TypeScript

import type { VariantProps } from "class-variance-authority"
import type { showMoreButtonVariants } from "./variants"
export interface ShowMoreButtonProps
extends React.PropsWithChildren<React.HTMLAttributes<HTMLDivElement>>,
VariantProps<typeof showMoreButtonVariants> {
disabled?: boolean
showLess?: boolean
textShowMore?: string
textShowLess?: string
loadMoreData: () => void
}