Created
July 21, 2019 04:41
-
-
Save theednaffattack/b101905dddddad6013887a44c72bc92b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { SpaceProps } from "styled-system"; | |
type TStyledLi = DetailedHTMLProps< | |
LiHTMLAttributes<HTMLLIElement>, | |
HTMLLIElement | |
> & | |
SpaceProps; | |
export const StyledLi: React.FC<TStyledLi> = styled.li` | |
${space} | |
display: inline; | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment