Files
web/packages/design-system/lib/components/IconButton/IconButton.tsx
Hrishikesh Vaipurkar 16e6c1596c Merged in feat/SW-3477-hide-voucher-booking-code-sas- (pull request #2836)
feat(SW-3477) Updated booking widget for SAS white label

Approved-by: Anton Gunnarsson
2025-09-23 08:44:55 +00:00

23 lines
401 B
TypeScript

import { Button as ButtonRAC } from 'react-aria-components'
import { variants } from './variants'
import type { IconButtonProps } from './types'
export function IconButton({
theme,
style,
className,
wrapping,
...props
}: IconButtonProps) {
const classNames = variants({
theme,
style,
wrapping,
className,
})
return <ButtonRAC {...props} className={classNames} />
}