feat(SW-1450): added components in destination pages from cs * feat(SW-1450): added components in destination pages from cs * feat(SW-1450): added correct refs and removed classNames Approved-by: Fredrik Thorsson
18 lines
404 B
TypeScript
18 lines
404 B
TypeScript
import Footnote from "@/components/TempDesignSystem/Text/Footnote"
|
|
|
|
import { chipVariants } from "./variants"
|
|
|
|
import type { ChipProps } from "./chip"
|
|
|
|
export default function Chip({ children, className, variant }: ChipProps) {
|
|
const classNames = chipVariants({
|
|
className,
|
|
variant,
|
|
})
|
|
return (
|
|
<Footnote asChild>
|
|
<div className={classNames}>{children}</div>
|
|
</Footnote>
|
|
)
|
|
}
|