Skip to content

Commit

Permalink
fix: adjusted boolean prop names in Radio
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGhadyani-Okta committed Jan 30, 2023
1 parent 135a8ec commit 25eb5d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/odyssey-react-mui/src/Radio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import { FormControlLabel } from "./";
import { Radio as MuiRadio } from "@mui/material";

export interface RadioProps {
value: string;
label: string;
value: string;
}

export const Radio = ({ value, label }: RadioProps) => (
<FormControlLabel value={value} control={<MuiRadio />} label={label} />
export const Radio = ({ label, value }: RadioProps) => (
<FormControlLabel control={<MuiRadio />} label={label} value={value} />
);

0 comments on commit 25eb5d1

Please sign in to comment.