Skip to content

Commit

Permalink
Fix: chane html property to jsx property
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilalekha committed Jun 28, 2021
1 parent e9b3847 commit fba5b7c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions component/ButtonLoader/LoadIcon.jsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
/* eslint-disable react/prop-types */
import React from 'react';
import React from "react";

export const LoadIcon = (props) => {
const { color, height } = props;
const divStyle = {
margin: 'auto',
background: 'none',
display: 'block',
'shape-rendering': 'auto',
margin: "auto",
background: "none",
display: "block",
shapeRendering: "auto"
};
return (
<div className="mr-2 -mt-1">
<svg
xmlns="http://www.w3.org/2000/svg"
style={divStyle}
width={height || '20px'}
height={height || '20px'}
width={height || "20px"}
height={height || "20px"}
viewBox="0 0 100 100"
preserveAspectRatio="xMidYMid"
>
Expand Down

0 comments on commit fba5b7c

Please sign in to comment.