Shared:Components:Selector: fix default theme

This commit is contained in:
Timofey Boyko 2024-02-01 10:17:58 +03:00
parent 12784c6954
commit 9e632fc139

View File

@ -48,6 +48,9 @@ const StyledHeader = styled.div`
line-height: 28px;
}
`;
StyledHeader.defaultProps = { theme: Base };
const StyledBody = styled.div<{
footerVisible: boolean;
withHeader?: boolean;
@ -263,6 +266,8 @@ const StyledBreadCrumbs = styled.div<{
}
`;
StyledBreadCrumbs.defaultProps = { theme: Base };
const StyledItemText = styled(Text)<{ isCurrent: boolean; isLoading: boolean }>`
${(props) =>
!props.isCurrent &&