-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #396 from appbaseio/build-optimization
Build optimization
- Loading branch information
Showing
11 changed files
with
1,280 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import React, { forwardRef } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
|
||
const Hash = forwardRef( | ||
({ color = 'currentColor', size = 24, ...rest }, ref) => { | ||
return ( | ||
<svg | ||
ref={ref} | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={size} | ||
height={size} | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
stroke={color} | ||
strokeWidth="2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
{...rest} | ||
> | ||
<line x1="4" y1="9" x2="20" y2="9" /> | ||
<line x1="4" y1="15" x2="20" y2="15" /> | ||
<line x1="10" y1="3" x2="8" y2="21" /> | ||
<line x1="16" y1="3" x2="14" y2="21" /> | ||
</svg> | ||
); | ||
}, | ||
); | ||
|
||
Hash.propTypes = { | ||
color: PropTypes.string, | ||
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), | ||
}; | ||
|
||
Hash.displayName = 'Hash'; | ||
|
||
export default Hash; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import React, { forwardRef } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
|
||
const ToggleRight = forwardRef( | ||
({ color = 'currentColor', size = 24, ...rest }, ref) => { | ||
return ( | ||
<svg | ||
ref={ref} | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={size} | ||
height={size} | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
stroke={color} | ||
strokeWidth="2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
{...rest} | ||
> | ||
<rect x="1" y="5" width="22" height="14" rx="7" ry="7" /> | ||
<circle cx="16" cy="12" r="3" /> | ||
</svg> | ||
); | ||
}, | ||
); | ||
|
||
ToggleRight.propTypes = { | ||
color: PropTypes.string, | ||
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), | ||
}; | ||
|
||
ToggleRight.displayName = 'ToggleRight'; | ||
|
||
export default ToggleRight; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.