From c769411d20574c45c4d4edacd47aedea33946417 Mon Sep 17 00:00:00 2001 From: kseniapetrova Date: Thu, 1 Feb 2024 16:09:02 +0600 Subject: [PATCH] fix: disable pressable content in radio and checkbox #55 Coses: #55 --- .../core/src/controls/CheckBox/CheckBox.tsx | 5 +++- .../__snapshots__/CheckBox.test.tsx.snap | 2 +- .../__snapshots__/ControlsList.tsx.snap | 24 +++++++++---------- packages/core/src/controls/Radio/Radio.tsx | 1 + .../__snapshots__/Radio.test.tsx.snap | 8 +++---- .../__snapshots__/Item.test.tsx.snap | 2 +- 6 files changed, 23 insertions(+), 19 deletions(-) diff --git a/packages/core/src/controls/CheckBox/CheckBox.tsx b/packages/core/src/controls/CheckBox/CheckBox.tsx index b55c8b6ee..bd38acf6f 100644 --- a/packages/core/src/controls/CheckBox/CheckBox.tsx +++ b/packages/core/src/controls/CheckBox/CheckBox.tsx @@ -22,7 +22,10 @@ const CheckBox: FC = ({children, ...rest}) => { const [styles] = useStyles(stylesCreate, disabled, selected, width, height); return ( - + = ({