homeflowjs 1.0.50 → 1.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -16,10 +16,10 @@ const ClearButton = ({ address, loading, onClear, iconStokeInherit }) => (
|
|
16
16
|
<SearchIcon inherit={iconStokeInherit} />
|
17
17
|
)}
|
18
18
|
{Object.keys(address.value).length !== 0 && !loading && (
|
19
|
-
|
19
|
+
<CloseIcon inherit={iconStokeInherit} />
|
20
20
|
)}
|
21
21
|
{loading && (
|
22
|
-
|
22
|
+
<LoadingIcon inherit={iconStokeInherit} />
|
23
23
|
)}
|
24
24
|
</button>
|
25
25
|
);
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import PropTypes from 'prop-types';
|
3
3
|
|
4
|
-
const CloseIcon = () => (
|
4
|
+
const CloseIcon = ({inherit}) => (
|
5
5
|
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="20.52" height="20.52" viewBox="0 0 20.52 20.52">
|
6
6
|
<title>Close Icon</title>
|
7
7
|
<g transform="translate(-336.011 -145.97)">
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import PropTypes from 'prop-types';
|
3
3
|
|
4
|
-
const LoadingIcon = () => (
|
4
|
+
const LoadingIcon = ({inherit}) => (
|
5
5
|
<svg role="img" className="loading-icon" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
6
6
|
<title>Loading Icon</title>
|
7
7
|
<path d="M23 4V10H17" stroke={`${inherit ? 'inherit' : '#fff'}`} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" />
|