Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save theednaffattack/b101905dddddad6013887a44c72bc92b to your computer and use it in GitHub Desktop.
Save theednaffattack/b101905dddddad6013887a44c72bc92b to your computer and use it in GitHub Desktop.
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