Skip to content

Commit

Permalink
fix(inputs): fix intent prop type
Browse files Browse the repository at this point in the history
  • Loading branch information
masoudmanson committed Nov 19, 2024
1 parent a56dbf3 commit f30251c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/core/InputCheckbox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface CheckboxContentProps
extends Omit<MUICheckboxProps, "color" | "defaultChecked" | "indeterminate"> {
caption?: string;
checkboxProps?: Partial<MUICheckboxProps>;
intent?: "default" | "error" | "warning";
intent?: "default" | "negative" | "notice" | "positive";
label?: React.ReactNode;
stage?: "checked" | "unchecked" | "indeterminate";
}
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/core/InputRadio/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import React from "react";
export interface RadioContentProps
extends Omit<MUIRadioProps, "color" | "defaultChecked"> {
caption?: string;
intent?: "default" | "error" | "warning";
intent?: "default" | "negative" | "notice" | "positive";
label?: React.ReactNode;
radioProps?: Partial<MUIRadioProps>;
stage?: "checked" | "unchecked";
Expand Down

0 comments on commit f30251c

Please sign in to comment.