chore: SW-3145 Moved Button component from TempDS to Design System package * chore: SW-3145 Moved Button compoenent from TempDS to Design System package Approved-by: Anton Gunnarsson
16 lines
515 B
TypeScript
16 lines
515 B
TypeScript
import type { ButtonPropsRAC } from "@scandic-hotels/design-system/OldDSButton"
|
|
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
|
|
intent?: ButtonPropsRAC["intent"]
|
|
}
|