From 4a26e0ec6cc06a09385ad9a1430be4166393c42d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Lafont?= Date: Thu, 4 Jul 2024 16:58:32 +0200 Subject: [PATCH] fix(RadioGroup): add tooltip prop --- .changeset/plenty-maps-hope.md | 5 +++++ packages/ui/src/components/RadioGroup/index.tsx | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/plenty-maps-hope.md diff --git a/.changeset/plenty-maps-hope.md b/.changeset/plenty-maps-hope.md new file mode 100644 index 0000000000..29b94936ee --- /dev/null +++ b/.changeset/plenty-maps-hope.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +fix(RadioGroup): add tooltip prop diff --git a/packages/ui/src/components/RadioGroup/index.tsx b/packages/ui/src/components/RadioGroup/index.tsx index 90b7d625d6..700f14ad0e 100644 --- a/packages/ui/src/components/RadioGroup/index.tsx +++ b/packages/ui/src/components/RadioGroup/index.tsx @@ -44,6 +44,7 @@ const RadioGroupRadio = ({ className, autoFocus, onKeyDown, + tooltip, 'data-testid': dataTestId, }: RadioGroupRadioProps) => { const context = useContext(RadioGroupContext) @@ -70,6 +71,7 @@ const RadioGroupRadio = ({ autoFocus={autoFocus} onKeyDown={onKeyDown} data-testid={dataTestId} + tooltip={tooltip} /> ) }