From 25eb5d1686526355c2b1ae4b83f23c80c5c72951 Mon Sep 17 00:00:00 2001 From: Kevin Ghadyani Date: Mon, 30 Jan 2023 15:41:16 -0600 Subject: [PATCH] fix: adjusted boolean prop names in Radio --- packages/odyssey-react-mui/src/Radio.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/odyssey-react-mui/src/Radio.tsx b/packages/odyssey-react-mui/src/Radio.tsx index c96c23811b..74b22daafa 100644 --- a/packages/odyssey-react-mui/src/Radio.tsx +++ b/packages/odyssey-react-mui/src/Radio.tsx @@ -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) => ( - } label={label} /> +export const Radio = ({ label, value }: RadioProps) => ( + } label={label} value={value} /> );