Files
web/apps/scandic-web/components/TempDesignSystem/Chip/index.tsx
Anton Gunnarsson 0ffb40e94b Merged in chore/sw-3145-move-footnote (pull request #2506)
chore(SW-3145): Move Footnote to design-system

* Move Footnote to design-system


Approved-by: Joakim Jäderberg
2025-07-03 08:14:18 +00:00

24 lines
424 B
TypeScript

import Footnote from "@scandic-hotels/design-system/Footnote"
import { chipVariants } from "./variants"
import type { ChipProps } from "./chip"
export default function Chip({
children,
className,
size,
variant,
}: ChipProps) {
const classNames = chipVariants({
className,
size,
variant,
})
return (
<Footnote asChild>
<div className={classNames}>{children}</div>
</Footnote>
)
}