Skip to content

Commit

Permalink
fix(odyssey-react): remove inherited color from props for StatusProps
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewberg-okta committed Dec 15, 2021
1 parent 9242182 commit 704b226
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/odyssey-react/src/components/Status/Status.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ import { Box } from "../Box";
import styles from "./Status.module.scss";

export interface StatusProps
extends Omit<ComponentPropsWithRef<"div">, "style" | "className" | "role"> {
extends Omit<
ComponentPropsWithRef<"div">,
"style" | "className" | "role" | "color"
> {
/**
* The status label.
*/
Expand Down

0 comments on commit 704b226

Please sign in to comment.