Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate index file with all icon exports #27

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
30 changes: 21 additions & 9 deletions generator.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const fs = require('fs')
const path = require('path')
const axios = require('axios')
import fs from 'fs'
import path from 'path'
import axios from 'axios'

const GOOGLE_FONTS_URL =
'https://fonts.google.com/metadata/icons?key=material_symbols&incomplete=true'
Expand All @@ -21,6 +21,7 @@ const getIncludedFamilies = (unsupportedFamilies) => {

;(async () => {
generatePropsFile()
generateIndexFile()

const res = await axios.get(GOOGLE_FONTS_URL)

Expand All @@ -41,7 +42,18 @@ function generatePropsFile() {
}
`

fs.writeFileSync(path.join(__dirname, 'src', 'types.ts'), typesFile)
fs.writeFileSync(path.join('src', 'types.ts'), typesFile)
}

function generateIndexFile() {
return fs.writeFileSync(path.join('src', 'index.ts'), '')
}

function appendToIndexFile(iconName) {
return fs.appendFileSync(
path.join('src', 'index.ts'),
`export * from './${iconName}.js'\n`,
)
}

async function generateComponentsForAllFamilies(icon) {
Expand All @@ -64,9 +76,11 @@ async function generateComponent(icon, family, filled = false) {
console.log(`Downloading ${name}`)

await fs.writeFileSync(
path.join(__dirname, 'src', `${name}.tsx`),
path.join('src', `${name}.tsx`),
mapSVGToTemplate(name, svg),
)

await appendToIndexFile(name)
} catch {
console.log('Error generating component for', icon.name)
//process.abort()
Expand Down Expand Up @@ -109,12 +123,10 @@ async function downloadSVG(icon, familyId, filled) {
function mapSVGToTemplate(name, svg) {
return `
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const ${name}: React.FC<IconProps> = ({ ...props }) => (
export const ${name}: React.FC<IconProps> = ({ ...props }) => (
${svg}
)

export { ${name} as default }
`
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"publishConfig": {
"access": "public"
},
"main": "dist/",
"type": "module",
"main": "dist/index.js",
"files": [
"readme.md",
"dist/**/*"
Expand All @@ -30,6 +31,7 @@
"npm": ">=8",
"node": ">=16"
},
"sideEffects": false,
"scripts": {
"build": "tsc",
"clear": "rm -rf src/*",
Expand Down
6 changes: 2 additions & 4 deletions src/Icon10kOutlined.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon10kOutlined: React.FC<IconProps> = ({ ...props }) => (
export const Icon10kOutlined: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M240-360h60v-240H200v60h40v180Zm140 0h100q17 0 28.5-11.5T520-400v-160q0-17-11.5-28.5T480-600H380q-17 0-28.5 11.5T340-560v160q0 17 11.5 28.5T380-360Zm20-60v-120h60v120h-60Zm157 60h60v-90l70 90h73l-93-120 93-120h-73l-70 90v-90h-60v240ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z" />
</svg>
)

export { Icon10kOutlined as default }
6 changes: 2 additions & 4 deletions src/Icon10kOutlinedFilled.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon10kOutlinedFilled: React.FC<IconProps> = ({ ...props }) => (
export const Icon10kOutlinedFilled: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M240-360h60v-240H200v60h40v180Zm140 0h100q17 0 28.5-11.5T520-400v-160q0-17-11.5-28.5T480-600H380q-17 0-28.5 11.5T340-560v160q0 17 11.5 28.5T380-360Zm20-60v-120h60v120h-60Zm160 60h60v-90l70 90h70l-90-120 90-120h-70l-70 90v-90h-60v240ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Z" />
</svg>
)

export { Icon10kOutlinedFilled as default }
6 changes: 2 additions & 4 deletions src/Icon10kRounded.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon10kRounded: React.FC<IconProps> = ({ ...props }) => (
export const Icon10kRounded: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M240-540v150q0 13 8.5 21.5T270-360q13 0 21.5-8.5T300-390v-180q0-13-8.5-21.5T270-600h-40q-13 0-21.5 8.5T200-570q0 13 8.5 21.5T230-540h10Zm140 180h100q17 0 28.5-11.5T520-400v-160q0-17-11.5-28.5T480-600H380q-17 0-28.5 11.5T340-560v160q0 17 11.5 28.5T380-360Zm20-60v-120h60v120h-60Zm217-30 61 79q2 3 23 11 18 0 26-16.5t-3-30.5l-57-73 57-74q11-14 3-30t-26-16q-7 0-13 3t-10 8l-61 79v-60q0-13-8.5-21.5T587-600q-13 0-21.5 8.5T557-570v180q0 13 8.5 21.5T587-360q13 0 21.5-8.5T617-390v-60ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z" />
</svg>
)

export { Icon10kRounded as default }
6 changes: 2 additions & 4 deletions src/Icon10kRoundedFilled.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon10kRoundedFilled: React.FC<IconProps> = ({ ...props }) => (
export const Icon10kRoundedFilled: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M240-540v150q0 13 8.5 21.5T270-360q13 0 21.5-8.5T300-390v-180q0-13-8.5-21.5T270-600h-40q-13 0-21.5 8.5T200-570q0 13 8.5 21.5T230-540h10Zm140 180h100q17 0 28.5-11.5T520-400v-160q0-17-11.5-28.5T480-600H380q-17 0-28.5 11.5T340-560v160q0 17 11.5 28.5T380-360Zm20-60v-120h60v120h-60Zm220-30 62 79q2 3 22 11 17 0 25-15.5t-3-29.5l-56-75 57-76q11-14 3-29t-26-15q-7 0-12.5 3t-9.5 8l-62 79v-60q0-13-8.5-21.5T590-600q-13 0-21.5 8.5T560-570v180q0 13 8.5 21.5T590-360q13 0 21.5-8.5T620-390v-60ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Z" />
</svg>
)

export { Icon10kRoundedFilled as default }
6 changes: 2 additions & 4 deletions src/Icon10kSharp.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon10kSharp: React.FC<IconProps> = ({ ...props }) => (
export const Icon10kSharp: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M240-360h60v-240H200v60h40v180Zm100 0h180v-240H340v240Zm60-60v-120h60v120h-60Zm157 60h60v-90l70 90h73l-93-120 93-120h-73l-70 90v-90h-60v240ZM120-120v-720h720v720H120Zm80-80h560v-560H200v560Zm0 0v-560 560Z" />
</svg>
)

export { Icon10kSharp as default }
6 changes: 2 additions & 4 deletions src/Icon10kSharpFilled.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon10kSharpFilled: React.FC<IconProps> = ({ ...props }) => (
export const Icon10kSharpFilled: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M240-360h60v-240H200v60h40v180Zm100 0h180v-240H340v240Zm60-60v-120h60v120h-60Zm160 60h60v-90l70 90h70l-90-120 90-120h-70l-70 90v-90h-60v240ZM120-120v-720h720v720H120Z" />
</svg>
)

export { Icon10kSharpFilled as default }
6 changes: 2 additions & 4 deletions src/Icon10mpOutlined.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon10mpOutlined: React.FC<IconProps> = ({ ...props }) => (
export const Icon10mpOutlined: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M340-500h60v-240H280v60h60v180Zm180 0h100q17 0 28.5-11.5T660-540v-160q0-17-11.5-28.5T620-740H520q-17 0-28.5 11.5T480-700v160q0 17 11.5 28.5T520-500Zm20-60v-120h60v120h-60ZM240-220h60v-180h40v120h60v-120h40v180h60v-200q0-17-11.5-28.5T460-460H280q-17 0-28.5 11.5T240-420v200Zm300 0h60v-60h80q17 0 28.5-11.5T720-320v-100q0-17-11.5-28.5T680-460H540v240Zm60-120v-60h60v60h-60ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z" />
</svg>
)

export { Icon10mpOutlined as default }
6 changes: 2 additions & 4 deletions src/Icon10mpOutlinedFilled.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon10mpOutlinedFilled: React.FC<IconProps> = ({ ...props }) => (
export const Icon10mpOutlinedFilled: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M340-500h60v-240H280v60h60v180Zm180 0h100q17 0 28.5-11.5T660-540v-160q0-17-11.5-28.5T620-740H520q-17 0-28.5 11.5T480-700v160q0 17 11.5 28.5T520-500Zm20-60v-120h60v120h-60ZM240-220h60v-180h40v120h60v-120h40v180h60v-200q0-17-11.5-28.5T460-460H280q-17 0-28.5 11.5T240-420v200Zm300 0h60v-60h80q17 0 28.5-11.5T720-320v-100q0-17-11.5-28.5T680-460H540v240Zm60-120v-60h60v60h-60ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Z" />
</svg>
)

export { Icon10mpOutlinedFilled as default }
6 changes: 2 additions & 4 deletions src/Icon10mpRounded.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon10mpRounded: React.FC<IconProps> = ({ ...props }) => (
export const Icon10mpRounded: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M340-680v150q0 13 8.5 21.5T370-500q13 0 21.5-8.5T400-530v-180q0-13-8.5-21.5T370-740h-60q-13 0-21.5 8.5T280-710q0 13 8.5 21.5T310-680h30Zm180 180h100q17 0 28.5-11.5T660-540v-160q0-17-11.5-28.5T620-740H520q-17 0-28.5 11.5T480-700v160q0 17 11.5 28.5T520-500Zm20-60v-120h60v120h-60ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Zm100 360h40v90q0 13 8.5 21.5T370-280q13 0 21.5-8.5T400-310v-90h40v150q0 13 8.5 21.5T470-220q13 0 21.5-8.5T500-250v-170q0-17-11.5-28.5T460-460H280q-17 0-28.5 11.5T240-420v170q0 13 8.5 21.5T270-220q13 0 21.5-8.5T300-250v-150Zm300 120h80q17 0 28.5-11.5T720-320v-100q0-17-11.5-28.5T680-460H570q-13 0-21.5 8.5T540-430v180q0 13 8.5 21.5T570-220q13 0 21.5-8.5T600-250v-30Zm0-60v-60h60v60h-60Z" />
</svg>
)

export { Icon10mpRounded as default }
6 changes: 2 additions & 4 deletions src/Icon10mpRoundedFilled.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon10mpRoundedFilled: React.FC<IconProps> = ({ ...props }) => (
export const Icon10mpRoundedFilled: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M340-680v150q0 13 8.5 21.5T370-500q13 0 21.5-8.5T400-530v-180q0-13-8.5-21.5T370-740h-60q-13 0-21.5 8.5T280-710q0 13 8.5 21.5T310-680h30Zm180 180h100q17 0 28.5-11.5T660-540v-160q0-17-11.5-28.5T620-740H520q-17 0-28.5 11.5T480-700v160q0 17 11.5 28.5T520-500Zm20-60v-120h60v120h-60ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm100-280h40v90q0 13 8.5 21.5T370-280q13 0 21.5-8.5T400-310v-90h40v150q0 13 8.5 21.5T470-220q13 0 21.5-8.5T500-250v-170q0-17-11.5-28.5T460-460H280q-17 0-28.5 11.5T240-420v170q0 13 8.5 21.5T270-220q13 0 21.5-8.5T300-250v-150Zm300 120h80q17 0 28.5-11.5T720-320v-100q0-17-11.5-28.5T680-460H570q-13 0-21.5 8.5T540-430v180q0 13 8.5 21.5T570-220q13 0 21.5-8.5T600-250v-30Zm0-60v-60h60v60h-60Z" />
</svg>
)

export { Icon10mpRoundedFilled as default }
6 changes: 2 additions & 4 deletions src/Icon10mpSharp.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon10mpSharp: React.FC<IconProps> = ({ ...props }) => (
export const Icon10mpSharp: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M340-500h60v-240H280v60h60v180Zm140 0h180v-240H480v240Zm60-60v-120h60v120h-60ZM240-220h60v-180h40v120h60v-120h40v180h60v-240H240v240Zm300 0h60v-60h120v-180H540v240Zm60-120v-60h60v60h-60ZM120-120v-720h720v720H120Zm80-80h560v-560H200v560Zm0 0v-560 560Z" />
</svg>
)

export { Icon10mpSharp as default }
6 changes: 2 additions & 4 deletions src/Icon10mpSharpFilled.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon10mpSharpFilled: React.FC<IconProps> = ({ ...props }) => (
export const Icon10mpSharpFilled: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M340-500h60v-240H280v60h60v180Zm140 0h180v-240H480v240Zm60-60v-120h60v120h-60ZM240-220h60v-180h40v120h60v-120h40v180h60v-240H240v240Zm300 0h60v-60h120v-180H540v240Zm60-120v-60h60v60h-60ZM120-120v-720h720v720H120Z" />
</svg>
)

export { Icon10mpSharpFilled as default }
6 changes: 2 additions & 4 deletions src/Icon11mpOutlined.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon11mpOutlined: React.FC<IconProps> = ({ ...props }) => (
export const Icon11mpOutlined: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M380-500h60v-240H320v60h60v180Zm200 0h60v-240H520v60h60v180ZM240-220h60v-180h40v120h60v-120h40v180h60v-200q0-17-11.5-28.5T460-460H280q-17 0-28.5 11.5T240-420v200Zm300 0h60v-60h80q17 0 28.5-11.5T720-320v-100q0-17-11.5-28.5T680-460H540v240Zm60-120v-60h60v60h-60ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z" />
</svg>
)

export { Icon11mpOutlined as default }
6 changes: 2 additions & 4 deletions src/Icon11mpOutlinedFilled.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon11mpOutlinedFilled: React.FC<IconProps> = ({ ...props }) => (
export const Icon11mpOutlinedFilled: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M380-500h60v-240H320v60h60v180Zm200 0h60v-240H520v60h60v180ZM240-220h60v-180h40v120h60v-120h40v180h60v-200q0-17-11.5-28.5T460-460H280q-17 0-28.5 11.5T240-420v200Zm300 0h60v-60h80q17 0 28.5-11.5T720-320v-100q0-17-11.5-28.5T680-460H540v240Zm60-120v-60h60v60h-60ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Z" />
</svg>
)

export { Icon11mpOutlinedFilled as default }
6 changes: 2 additions & 4 deletions src/Icon11mpRounded.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon11mpRounded: React.FC<IconProps> = ({ ...props }) => (
export const Icon11mpRounded: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M380-680v150q0 13 8.5 21.5T410-500q13 0 21.5-8.5T440-530v-180q0-13-8.5-21.5T410-740h-60q-13 0-21.5 8.5T320-710q0 13 8.5 21.5T350-680h30Zm200 0v150q0 13 8.5 21.5T610-500q13 0 21.5-8.5T640-530v-180q0-13-8.5-21.5T610-740h-60q-13 0-21.5 8.5T520-710q0 13 8.5 21.5T550-680h30ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Zm100 360h40v90q0 13 8.5 21.5T370-280q13 0 21.5-8.5T400-310v-90h40v150q0 13 8.5 21.5T470-220q13 0 21.5-8.5T500-250v-170q0-17-11.5-28.5T460-460H280q-17 0-28.5 11.5T240-420v170q0 13 8.5 21.5T270-220q13 0 21.5-8.5T300-250v-150Zm300 120h80q17 0 28.5-11.5T720-320v-100q0-17-11.5-28.5T680-460H570q-13 0-21.5 8.5T540-430v180q0 13 8.5 21.5T570-220q13 0 21.5-8.5T600-250v-30Zm0-60v-60h60v60h-60Z" />
</svg>
)

export { Icon11mpRounded as default }
6 changes: 2 additions & 4 deletions src/Icon11mpRoundedFilled.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon11mpRoundedFilled: React.FC<IconProps> = ({ ...props }) => (
export const Icon11mpRoundedFilled: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M380-680v150q0 13 8.5 21.5T410-500q13 0 21.5-8.5T440-530v-180q0-13-8.5-21.5T410-740h-60q-13 0-21.5 8.5T320-710q0 13 8.5 21.5T350-680h30Zm200 0v150q0 13 8.5 21.5T610-500q13 0 21.5-8.5T640-530v-180q0-13-8.5-21.5T610-740h-60q-13 0-21.5 8.5T520-710q0 13 8.5 21.5T550-680h30ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm100-280h40v90q0 13 8.5 21.5T370-280q13 0 21.5-8.5T400-310v-90h40v150q0 13 8.5 21.5T470-220q13 0 21.5-8.5T500-250v-170q0-17-11.5-28.5T460-460H280q-17 0-28.5 11.5T240-420v170q0 13 8.5 21.5T270-220q13 0 21.5-8.5T300-250v-150Zm300 120h80q17 0 28.5-11.5T720-320v-100q0-17-11.5-28.5T680-460H570q-13 0-21.5 8.5T540-430v180q0 13 8.5 21.5T570-220q13 0 21.5-8.5T600-250v-30Zm0-60v-60h60v60h-60Z" />
</svg>
)

export { Icon11mpRoundedFilled as default }
6 changes: 2 additions & 4 deletions src/Icon11mpSharp.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon11mpSharp: React.FC<IconProps> = ({ ...props }) => (
export const Icon11mpSharp: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M380-500h60v-240H320v60h60v180Zm200 0h60v-240H520v60h60v180ZM240-220h60v-180h40v120h60v-120h40v180h60v-240H240v240Zm300 0h60v-60h120v-180H540v240Zm60-120v-60h60v60h-60ZM120-120v-720h720v720H120Zm80-80h560v-560H200v560Zm0 0v-560 560Z" />
</svg>
)

export { Icon11mpSharp as default }
6 changes: 2 additions & 4 deletions src/Icon11mpSharpFilled.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon11mpSharpFilled: React.FC<IconProps> = ({ ...props }) => (
export const Icon11mpSharpFilled: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M380-500h60v-240H320v60h60v180Zm200 0h60v-240H520v60h60v180ZM240-220h60v-180h40v120h60v-120h40v180h60v-240H240v240Zm300 0h60v-60h120v-180H540v240Zm60-120v-60h60v60h-60ZM120-120v-720h720v720H120Z" />
</svg>
)

export { Icon11mpSharpFilled as default }
6 changes: 2 additions & 4 deletions src/Icon123Outlined.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon123Outlined: React.FC<IconProps> = ({ ...props }) => (
export const Icon123Outlined: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M220-360v-180h-60v-60h120v240h-60Zm140 0v-100q0-17 11.5-28.5T400-500h80v-40H360v-60h140q17 0 28.5 11.5T540-560v60q0 17-11.5 28.5T500-460h-80v40h120v60H360Zm240 0v-60h120v-40h-80v-40h80v-40H600v-60h140q17 0 28.5 11.5T780-560v160q0 17-11.5 28.5T740-360H600Z" />
</svg>
)

export { Icon123Outlined as default }
6 changes: 2 additions & 4 deletions src/Icon123OutlinedFilled.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import { IconProps } from './types'
import { IconProps } from './types.js'

const Icon123OutlinedFilled: React.FC<IconProps> = ({ ...props }) => (
export const Icon123OutlinedFilled: React.FC<IconProps> = ({ ...props }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" {...props}>
{props.title && <title>{props.title}</title>}
<path d="M220-360v-180h-60v-60h120v240h-60Zm140 0v-100q0-17 11.5-28.5T400-500h80v-40H360v-60h140q17 0 28.5 11.5T540-560v60q0 17-11.5 28.5T500-460h-80v40h120v60H360Zm240 0v-60h120v-40h-80v-40h80v-40H600v-60h140q17 0 28.5 11.5T780-560v160q0 17-11.5 28.5T740-360H600Z" />
</svg>
)

export { Icon123OutlinedFilled as default }
Loading