Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 4 additions & 0 deletions generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ const ICON_FAMILIES = [
{ id: 'materialiconstwotone', postfix: 'TwoTone' },
]

const ignoredIcons = ['addchart']

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wdyt about adding a comment why we ignore this icon? Could be helpful in the future.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea, thanks.


;(async () => {
generatePropsFile()

Expand All @@ -21,6 +23,8 @@ const ICON_FAMILIES = [
const icons = await JSON.parse(data)

for (let i = 0; i < icons.icons.length; i++) {
if (ignoredIcons.includes(icons.icons[i].name)) continue

generateComponentsForAllFamilies(icons.icons[i])
}
})()
Expand Down
14 changes: 11 additions & 3 deletions src/IconAddChartOutlined.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { IconProps } from './types'

const IconAddchartOutlined: React.FC<IconProps> = ({ ...props }) => (
const IconAddChartOutlined: React.FC<IconProps> = ({ ...props }) => (
<svg
xmlns="http://www.w3.org/2000/svg"
enableBackground="new 0 0 24 24"
Expand All @@ -11,9 +11,17 @@ const IconAddchartOutlined: React.FC<IconProps> = ({ ...props }) => (
{props.title && <title>{props.title}</title>}
<g>
<rect fill="none" height="24" width="24" />
<path d="M22,5v2h-3v3h-2V7h-3V5h3V2h2v3H22z M19,19H5V5h6V3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2v-6h-2V19z M15,13v4h2v-4H15z M11,17h2V9h-2V17z M9,17v-6H7v6H9z" />
</g>
<g>
<g>
<path d="M19,19H5V5h9V3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2v-9h-2V19z" />
<rect height="4" width="2" x="15" y="13" />
<rect height="7" width="2" x="7" y="10" />
<rect height="10" width="2" x="11" y="7" />
<polygon points="19,5 19,3 17,3 17,5 15,5 15,7 17,7 17,9 19,9 19,7 21,7 21,5" />
</g>
</g>
</svg>
)

export { IconAddchartOutlined as default }
export { IconAddChartOutlined as default }
14 changes: 11 additions & 3 deletions src/IconAddChartRounded.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { IconProps } from './types'

const IconAddchartRounded: React.FC<IconProps> = ({ ...props }) => (
const IconAddChartRounded: React.FC<IconProps> = ({ ...props }) => (
<svg
xmlns="http://www.w3.org/2000/svg"
enableBackground="new 0 0 24 24"
Expand All @@ -11,9 +11,17 @@ const IconAddchartRounded: React.FC<IconProps> = ({ ...props }) => (
{props.title && <title>{props.title}</title>}
<g>
<rect fill="none" height="24" width="24" />
<path d="M11,10c0-0.55,0.45-1,1-1s1,0.45,1,1v7h-2V10z M20,13c-0.55,0-1,0.45-1,1v5H5V5h5c0.55,0,1-0.45,1-1c0-0.55-0.45-1-1-1H5 C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2v-5C21,13.45,20.55,13,20,13z M21,5h-2V3c0-0.55-0.45-1-1-1s-1,0.45-1,1v2 h-2c-0.55,0-1,0.45-1,1c0,0.55,0.45,1,1,1h2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V7h2c0.55,0,1-0.45,1-1C22,5.45,21.55,5,21,5z M16,13 c-0.55,0-1,0.45-1,1v3h2v-3C17,13.45,16.55,13,16,13z M7,12v5h2v-5c0-0.55-0.45-1-1-1S7,11.45,7,12z" />
</g>
<g>
<g>
<path d="M16,17c0.55,0,1-0.45,1-1v-2c0-0.55-0.45-1-1-1s-1,0.45-1,1v2C15,16.55,15.45,17,16,17z" />
<path d="M20,10c-0.55,0-1,0.45-1,1v8H5V5h8c0.55,0,1-0.45,1-1s-0.45-1-1-1H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14 c1.1,0,2-0.9,2-2v-8C21,10.45,20.55,10,20,10z" />
<path d="M7,11v5c0,0.55,0.45,1,1,1s1-0.45,1-1v-5c0-0.55-0.45-1-1-1S7,10.45,7,11z" />
<path d="M11,8v8c0,0.55,0.45,1,1,1s1-0.45,1-1V8c0-0.55-0.45-1-1-1S11,7.45,11,8z" />
<path d="M16,7h1v1c0,0.55,0.45,1,1,1s1-0.45,1-1V7h1c0.55,0,1-0.45,1-1s-0.45-1-1-1h-1V4c0-0.55-0.45-1-1-1s-1,0.45-1,1v1h-1 c-0.55,0-1,0.45-1,1S15.45,7,16,7z" />
</g>
</g>
</svg>
)

export { IconAddchartRounded as default }
export { IconAddChartRounded as default }
15 changes: 11 additions & 4 deletions src/IconAddChartSharp.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { IconProps } from './types'

const IconAddchartSharp: React.FC<IconProps> = ({ ...props }) => (
const IconAddChartSharp: React.FC<IconProps> = ({ ...props }) => (
<svg
xmlns="http://www.w3.org/2000/svg"
enableBackground="new 0 0 24 24"
Expand All @@ -11,10 +11,17 @@ const IconAddchartSharp: React.FC<IconProps> = ({ ...props }) => (
{props.title && <title>{props.title}</title>}
<g>
<rect fill="none" height="24" width="24" />
<path d="M11,9h2v8h-2V9z M9,17v-6H7v6H9z M19,19H5V5h6V3H3v18h18v-8h-2V19z M15,13v4h2v-4H15z M19,5V2h-2v3h-3v2h3v3h2V7h3V5H19z" />
</g>
<g />
<g>
<g>
<polygon points="19,19 5,19 5,5 14,5 14,3 3,3 3,21 21,21 21,10 19,10" />
<rect height="10" width="2" x="11" y="7" />
<rect height="4" width="2" x="15" y="13" />
<rect height="7" width="2" x="7" y="10" />
<polygon points="19,5 19,3 17,3 17,5 15,5 15,7 17,7 17,9 19,9 19,7 21,7 21,5" />
</g>
</g>
</svg>
)

export { IconAddchartSharp as default }
export { IconAddChartSharp as default }
14 changes: 11 additions & 3 deletions src/IconAddChartTwoTone.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { IconProps } from './types'

const IconAddchartTwoTone: React.FC<IconProps> = ({ ...props }) => (
const IconAddChartTwoTone: React.FC<IconProps> = ({ ...props }) => (
<svg
xmlns="http://www.w3.org/2000/svg"
enableBackground="new 0 0 24 24"
Expand All @@ -11,9 +11,17 @@ const IconAddchartTwoTone: React.FC<IconProps> = ({ ...props }) => (
{props.title && <title>{props.title}</title>}
<g>
<rect fill="none" height="24" width="24" />
<path d="M22,5v2h-3v3h-2V7h-3V5h3V2h2v3H22z M19,19H5V5h6V3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2v-6h-2V19z M15,13v4h2v-4H15z M11,17h2V9h-2V17z M9,17v-6H7v6H9z" />
</g>
<g>
<g>
<rect height="10" width="2" x="11" y="7" />
<rect height="4" width="2" x="15" y="13" />
<path d="M19,19H5V5h9V3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2v-9h-2V19z" />
<rect height="7" width="2" x="7" y="10" />
<polygon points="19,5 19,3 17,3 17,5 15,5 15,7 17,7 17,9 19,9 19,7 21,7 21,5" />
</g>
</g>
</svg>
)

export { IconAddchartTwoTone as default }
export { IconAddChartTwoTone as default }
8 changes: 4 additions & 4 deletions src/IconAddchart.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react'
import { IconProps } from './types'

const IconAddchart: React.FC<IconProps> = ({ ...props }) => (
const IconAddChart: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M0 0h24v24H0z" fill="none" />
<path d="M22 5v2h-3v3h-2V7h-3V5h3V2h2v3h3zm-3 14H5V5h6V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6h-2v6zm-4-6v4h2v-4h-2zm-4 4h2V9h-2v8zm-2 0v-6H7v6h2z" />
<path d="M0 0h24v24H0V0z" fill="none" />
<path d="M6 9.99h2v7H6zm8 3h2v4h-2zm-4-6h2v10h-2zM20 7V4h-2v3h-3v2h3v3h2V9h3V7zm-2 12H4V5h12V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5h-2v5z" />
</svg>
)

export { IconAddchart as default }
export { IconAddChart as default }