From 704b22652d8cb3182677d8eacb554b1606d0f512 Mon Sep 17 00:00:00 2001 From: Andrew Berg <87656589+andrewberg-okta@users.noreply.github.com> Date: Wed, 15 Dec 2021 15:47:50 -0500 Subject: [PATCH] fix(odyssey-react): remove inherited color from props for StatusProps --- packages/odyssey-react/src/components/Status/Status.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/odyssey-react/src/components/Status/Status.tsx b/packages/odyssey-react/src/components/Status/Status.tsx index 7a56d99de5..d66daf3fbf 100644 --- a/packages/odyssey-react/src/components/Status/Status.tsx +++ b/packages/odyssey-react/src/components/Status/Status.tsx @@ -18,7 +18,10 @@ import { Box } from "../Box"; import styles from "./Status.module.scss"; export interface StatusProps - extends Omit, "style" | "className" | "role"> { + extends Omit< + ComponentPropsWithRef<"div">, + "style" | "className" | "role" | "color" + > { /** * The status label. */