Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

chore: apply width/height inside svg element #2041

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/app/components/SvgIcon/SvgIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ type WrapperProps = {
};

const Wrapper = styled.div(({ width, height }: WrapperProps) => ({
width,
height,
svg: {
width,
height,
},
}));

const SvgIcon = ({ name, width, height }: Props) => {
Expand Down