From fb72a4fb61db568534046c43c2077759f3a40af9 Mon Sep 17 00:00:00 2001 From: OleksandrSPV Date: Mon, 25 Sep 2023 18:31:21 +0300 Subject: [PATCH] feat(react-components): Fix Select --- packages/react-components/src/Select/select.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/react-components/src/Select/select.tsx b/packages/react-components/src/Select/select.tsx index 13ed1859..3f2f734c 100644 --- a/packages/react-components/src/Select/select.tsx +++ b/packages/react-components/src/Select/select.tsx @@ -130,12 +130,12 @@ const SelectRoot = styled('select')({ height: 'var(--pv-size-base-8)', })); -const Label = styled('label')({ +const SelectLabel = styled('label')({ marginBottom: '2px', display: 'inline-block', }); -const ErrorText = styled(Typography)({ +const SelectErrorMessage = styled(Typography)({ marginTop: '2px', }); @@ -183,7 +183,7 @@ export const Select = React.forwardRef((props, ref) className={className} > {label && ( - + )} ((props, ref) /> {error && errorText && ( - {errorText} - + )} );