Add styled component rule (#1261)

* Add StyledComponent rule

* update doc

* update doc

* update doc
This commit is contained in:
Weiko
2023-08-17 20:58:02 -07:00
committed by GitHub
parent 390e70a196
commit 9b34a0ff3d
70 changed files with 433 additions and 354 deletions

View File

@ -1,6 +1,6 @@
import styled from '@emotion/styled';
const Separator = styled.div`
const StyledSeparator = styled.div`
background-color: ${({ theme }) => theme.border.color.medium};
height: 1px;
margin-bottom: ${({ theme }) => theme.spacing(3)};
@ -9,5 +9,5 @@ const Separator = styled.div`
`;
export function HorizontalSeparator(): JSX.Element {
return <Separator />;
return <StyledSeparator />;
}