Add pill component
This commit is contained in:
20
lib/component/pill/LightPill.tsx
Normal file
20
lib/component/pill/LightPill.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import type { PillProps } from "$/types/PillTypes";
|
||||
import clsx from "clsx";
|
||||
import Pill from "./Pill";
|
||||
|
||||
|
||||
export default function LightPill({
|
||||
className,
|
||||
...props
|
||||
}: Readonly<PillProps>){
|
||||
return (
|
||||
<Pill
|
||||
data-testid="mattrixwv-light-pill"
|
||||
className={clsx(
|
||||
className,
|
||||
"bg-light text-black"
|
||||
)}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user