fix: type error and border (#6520)

* fix: type error and border

Signed-off-by: Udit Takkar <[email protected]>

* fix: sepeator

Signed-off-by: Udit Takkar <[email protected]>

Signed-off-by: Udit Takkar <[email protected]>
This commit is contained in:
Udit Takkar authored and GitHub committed 2023-01-17 17:12:22 +00:00
1 parent c78f4deaf7
commit 71833c0737
5 files changed
+14 -4

No files matched your search

+2 -1
View File
@@ -10,6 +10,7 @@ import { Icon } from "@calcom/ui";
type InferredVariantProps = VariantProps<typeof buttonClasses>;
export type ButtonColor = NonNullable<InferredVariantProps["color"]>;
export type ButtonBaseProps = {
/** Action that happens when the button is clicked */
onClick?: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
@@ -22,7 +23,7 @@ export type ButtonBaseProps = {
tooltip?: string;
flex?: boolean;
} & Omit<InferredVariantProps, "color"> & {
color?: NonNullable<InferredVariantProps["color"]>;
color?: ButtonColor;
};
export type ButtonProps = ButtonBaseProps &