Add pill component
This commit is contained in:
9
lib/types/PillTypes.ts
Normal file
9
lib/types/PillTypes.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { ComponentProps } from "react";
|
||||
|
||||
|
||||
export type PillRounding = "none" | "sm" | "md" | "lg" | "full";
|
||||
|
||||
|
||||
export interface PillProps extends ComponentProps<"div"> {
|
||||
rounding?: PillRounding;
|
||||
}
|
||||
Reference in New Issue
Block a user