From 31938c6379e47891be62363cd43a2d2d1dee383d Mon Sep 17 00:00:00 2001 From: Andrew Berg <87656589+andrewberg-okta@users.noreply.github.com> Date: Tue, 21 Dec 2021 14:17:47 -0500 Subject: [PATCH] feat(odyssey-react): add Box wrapper to RadioButton --- .../src/components/Radio/RadioButton/RadioButton.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/odyssey-react/src/components/Radio/RadioButton/RadioButton.tsx b/packages/odyssey-react/src/components/Radio/RadioButton/RadioButton.tsx index 39698c700b..8e64e3cd7d 100644 --- a/packages/odyssey-react/src/components/Radio/RadioButton/RadioButton.tsx +++ b/packages/odyssey-react/src/components/Radio/RadioButton/RadioButton.tsx @@ -14,6 +14,7 @@ import React, { forwardRef } from "react"; import type { ComponentPropsWithRef } from "react"; import { withTheme } from "@okta/odyssey-react-theme"; import { useRadioGroup } from "../context"; +import { Box } from "../../Box"; import { useCx, useOid, useOmit } from "../../../utils"; import type { SharedFieldTypes } from "../../Field/types"; import styles from "./RadioButton.module.scss"; @@ -71,7 +72,7 @@ export const RadioButton = withTheme( ); return ( - <> + ); }) );