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