Use react attributes for SVG

This commit is contained in:
Jackson Harper
2022-05-02 13:21:35 -07:00
parent 039cab33ed
commit deac4b6680
2 changed files with 5 additions and 5 deletions

View File

@ -5,9 +5,9 @@ type FontStepperDownProps = {
export function FontStepperDown(props: FontStepperDownProps): JSX.Element {
return (
<svg width="56" height="29" viewBox="0 0 56 29" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19.6079 19.5436L13.5525 8.10555L7.49707 19.5436" stroke={props.color} stroke-width="1.75072" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M17.8261 16.1798H9.28125" stroke={props.color} stroke-width="1.75072" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M32.2515 13.9959H50.9237" stroke={props.color} stroke-width="1.69748" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M19.6079 19.5436L13.5525 8.10555L7.49707 19.5436" stroke={props.color} strokeWidth="1.75072" strokeLinecap="round" strokeLinejoin="round"/>
<path d="M17.8261 16.1798H9.28125" stroke={props.color} strokeWidth="1.75072" strokeLinecap="round" strokeLinejoin="round"/>
<path d="M32.2515 13.9959H50.9237" stroke={props.color} strokeWidth="1.69748" strokeLinecap="round" strokeLinejoin="round"/>
</svg>
)
}

View File

@ -5,8 +5,8 @@ type FontStepperUpProps = {
export function FontStepperUp(props: FontStepperUpProps): JSX.Element {
return (
<svg width="72" height="46" viewBox="0 0 72 46" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M34.2935 34.2954L21.7811 10.6606L9.26855 34.2954" stroke={props.color} stroke-width="2.78055" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M30.6116 27.3442H12.9551" stroke={props.color} stroke-width="2.78055" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M34.2935 34.2954L21.7811 10.6606L9.26855 34.2954" stroke={props.color} strokeWidth="2.78055" strokeLinecap="round" strokeLinejoin="round"/>
<path d="M30.6116 27.3442H12.9551" stroke={props.color} strokeWidth="2.78055" strokeLinecap="round" strokeLinejoin="round"/>
<path d="M48.3784 22.1471C47.9097 22.1471 47.5297 22.5271 47.5297 22.9958C47.5297 23.4646 47.9097 23.8446 48.3784 23.8446V22.1471ZM67.0507 23.8446C67.5194 23.8446 67.8994 23.4646 67.8994 22.9958C67.8994 22.5271 67.5194 22.1471 67.0507 22.1471V23.8446ZM58.5633 13.6597C58.5633 13.191 58.1833 12.811 57.7146 12.811C57.2458 12.811 56.8658 13.191 56.8658 13.6597H58.5633ZM56.8658 32.332C56.8658 32.8007 57.2458 33.1807 57.7146 33.1807C58.1833 33.1807 58.5633 32.8007 58.5633 32.332H56.8658ZM48.3784 23.8446H67.0507V22.1471H48.3784V23.8446ZM56.8658 13.6597V32.332H58.5633V13.6597H56.8658Z" fill={props.color} />
</svg>
)