-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create sro svgicons lib, update react types ver
- Loading branch information
1 parent
7b45e41
commit 688fa33
Showing
33 changed files
with
343 additions
and
14 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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,13 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"@nx/react/babel", | ||
{ | ||
"runtime": "automatic", | ||
"useBuiltIns": "usage", | ||
"importSource": "@emotion/react" | ||
} | ||
] | ||
], | ||
"plugins": ["@emotion/babel-plugin"] | ||
} |
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,21 @@ | ||
{ | ||
"extends": ["plugin:@nx/react", "../../../.eslintrc.json"], | ||
"ignorePatterns": ["!**/*"], | ||
"parserOptions": { | ||
"project": "libs/sr/svgicons/tsconfig.eslint.json" | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.js", "*.jsx"], | ||
"rules": {} | ||
} | ||
] | ||
} |
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,7 @@ | ||
# sr-svgicons | ||
|
||
This library was generated with [Nx](https://nx.dev). | ||
|
||
## Running unit tests | ||
|
||
Run `nx test sr-svgicons` to execute the unit tests via [Jest](https://jestjs.io). |
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,8 @@ | ||
{ | ||
"name": "sr-svgicons", | ||
"$schema": "../../../node_modules/nx/schemas/project-schema.json", | ||
"sourceRoot": "libs/sr/svgicons/src", | ||
"projectType": "library", | ||
"tags": [], | ||
"targets": {} | ||
} |
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,92 @@ | ||
import type { ElementalDamageKey } from '@genshin-optimizer/sr/consts' | ||
import { allElementalDamageKeys } from '@genshin-optimizer/sr/consts' | ||
import type { SvgIconProps } from '@mui/material' | ||
import { | ||
AtkIcon, | ||
BrEffIcon, | ||
CritDmgIcon, | ||
CritRateIcon, | ||
DefIcon, | ||
EffIcon, | ||
EffResIcon, | ||
EnerRegenIcon, | ||
FireIcon, | ||
HealBoostIcon, | ||
HpIcon, | ||
IceIcon, | ||
ImaginaryIcon, | ||
LightningIcon, | ||
PhysicalIcon, | ||
QuantumIcon, | ||
SpdIcon, | ||
WindIcon, | ||
} from '../' | ||
|
||
export function StatIcon({ | ||
statKey, | ||
iconProps = {}, | ||
}: { | ||
statKey: string | ||
iconProps?: SvgIconProps | ||
}) { | ||
switch (statKey) { | ||
case 'hp': | ||
case 'hp_': | ||
case 'base_hp': | ||
return <HpIcon {...iconProps} /> | ||
case 'atk': | ||
case 'atk_': | ||
case 'base_atk': | ||
return <AtkIcon {...iconProps} /> | ||
case 'def': | ||
case 'def_': | ||
case 'base_def': | ||
return <DefIcon {...iconProps} /> | ||
case 'spd': | ||
return <SpdIcon {...iconProps} /> | ||
case 'crit_': | ||
return <CritRateIcon {...iconProps} /> | ||
case 'crit_dmg_': | ||
return <CritDmgIcon {...iconProps} /> | ||
case 'enerRegen_': | ||
return <EnerRegenIcon {...iconProps} /> | ||
case 'heal_': | ||
return <HealBoostIcon {...iconProps} /> | ||
case 'eff_': | ||
return <EffIcon {...iconProps} /> | ||
case 'eff_res_': | ||
return <EffResIcon {...iconProps} /> | ||
case 'brEff_': | ||
return <BrEffIcon {...iconProps} /> | ||
} | ||
const ele = statKey.split('_')[0] | ||
if (allElementalDamageKeys.includes(ele as ElementalDamageKey)) | ||
return <ElementIcon ele={ele as ElementalDamageKey} iconProps={iconProps} /> | ||
|
||
return null | ||
} | ||
|
||
export function ElementIcon({ | ||
ele, | ||
iconProps = {}, | ||
}: { | ||
ele: ElementalDamageKey | ||
iconProps?: SvgIconProps | ||
}) { | ||
switch (ele) { | ||
case 'fire': | ||
return <FireIcon {...iconProps} /> | ||
case 'ice': | ||
return <IceIcon {...iconProps} /> | ||
case 'imaginary': | ||
return <ImaginaryIcon {...iconProps} /> | ||
case 'lightning': | ||
return <LightningIcon {...iconProps} /> | ||
case 'quantum': | ||
return <QuantumIcon {...iconProps} /> | ||
case 'wind': | ||
return <WindIcon {...iconProps} /> | ||
case 'physical': | ||
return <PhysicalIcon {...iconProps} /> | ||
} | ||
} |
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,6 @@ | ||
import { createSvgIcon } from '@mui/material' | ||
|
||
export const FireIcon = createSvgIcon( | ||
<path d="M2.583 6.287v.046c.906.234 2.099.363 2.732-.502.243-.332.347-.743.5-1.12.208-.514.574-1.011 1.104-1.224.41-.164.857-.086 1.21.174.143.106.329.26.249.458-.091.225-.33.414-.523.548a8.02 8.02 0 0 1-1.141.639v.045c.112.027.207 0 .32.003.269.007.56.037.82.106.203.053.412.13.594.235.805.46.98 1.314.913 2.166-.135-.052-.37-.366-.518-.22-.1.097-.053.343-.053.47 0 .274-.038.616-.198.846-.145.209-.374.237-.6.306a4.24 4.24 0 0 0-.822.334 3.325 3.325 0 0 0-.616.439c-.103.093-.172.227-.297.29.037-.455.273-.863.617-1.157.236-.202.518-.346.752-.552a2.35 2.35 0 0 0 .723-1.212 1.469 1.469 0 0 0-.208-1.118c-.085-.133-.19-.294-.355-.32-.078.442-.582.99-1.004 1.128-.278.09-.523-.104-.776-.197-.422-.154-.89-.266-1.323-.086-.461.192-.67.652-.985 1.004-.31.345-.718.592-1.137.783-.16.073-.328.167-.502.198.033.105.128.18.19.274.098.15.174.31.236.48.207.558.21 1.138.647 1.596.456.478 1.13.612 1.71.875.36.162.64.432.982.609l.023-.023a3.256 3.256 0 0 0-.566-1.027c-.423-.524-.948-1.012-.962-1.734-.023-1.185.907-2.057 2.007-2.278a3.74 3.74 0 0 1 .753-.073c.117 0 .23-.015.32.069a1.816 1.816 0 0 0-.526.173c-.957.479-1.152 1.483-1.14 2.45.003.36.076.717.21 1.05.034.083.1.308.204.322.078.01.154-.091.202-.14.16-.157.317-.306.502-.435.382-.265.832-.33 1.278-.42.357-.073.737-.19.945-.513.125-.193.167-.435.162-.662-.006-.243-.064-.586.194-.735.128-.074.248.07.314.165.184.266.164.54.164.844.264-.03.537-.307.73-.473.637-.545 1.405-1.585 1.013-2.47-.34-.77-.981-1.532-1.765-1.865A2.364 2.364 0 0 0 9.2 4.67c-.133-.013-.32.034-.43-.065-.09-.08.014-.146.088-.178.17-.075.525-.22.428-.47-.142-.363-.765-.503-1.09-.638-.107-.044-.304-.08-.366-.19-.036-.062.009-.136.025-.197a2.6 2.6 0 0 0 .063-.411c.065-.64.034-1.394.436-1.94.104-.14.24-.285.39-.377.094-.06.235-.082.273-.193-.18 0-.39-.03-.566.006-1.768.367-2.89 1.896-3.63 3.44-.42.875-.642 2.009-1.508 2.565-.223.144-.48.193-.73.264m8.648 1.985-.091.046.09-.046M6.6 14c.17-.036.29-.246.41-.365.25-.251.507-.483.845-.61.244-.091.563-.076.82-.102a4.648 4.648 0 0 0 1.074-.25c1.167-.414 2.012-1.376 2.165-2.623a4.373 4.373 0 0 0 0-.977c-.02-.155-.082-.298-.09-.46-.19.058-.31.45-.41.618-.293.489-.636.963-1.072 1.336-.51.436-1.073.743-1.734.867-.142.026-.29.042-.434.03-.108-.008-.19-.05-.296-.004-.18.074-.334.22-.48.343-.16.136-.36.246-.488.417-.358.48-.31 1.214-.31 1.78z" />, | ||
'Fire' | ||
) |
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,6 @@ | ||
import { createSvgIcon } from '@mui/material' | ||
|
||
export const IceIcon = createSvgIcon( | ||
<path d="M6.478.822c-.306.537-.625 1.071-.915 1.617-.1.188-.204.374-.312.557-.051.086-.132.186-.126.291.01.188.239.083.338.04.283-.12.452-.288.652-.516.044-.05.132-.144.182-.048.111.213-.13.624-.249.79-.05.07-.17.167-.16.262.012.111.24.21.317.276.203.174.452.44.516.708.081.34.014.765.014 1.114 0 .126.032.307-.03.421-.135.244-.473.307-.507.64-.044.413.532.501.537.874.004.318 0 .637 0 .955 0 .18.02.364-.066.53a1.955 1.955 0 0 1-.49.598c-.075.061-.28.147-.291.253-.01.088.092.173.14.236.11.146.42.651.257.836-.072.082-.174-.073-.212-.12a1.522 1.522 0 0 0-.663-.486c-.098-.038-.277-.103-.285.062-.005.106.074.206.126.292.108.182.212.369.312.556.295.556.622 1.096.93 1.644.124.17.43.704.506.796.07-.1.445-.684.524-.822.307-.537.625-1.072.915-1.618.1-.187.204-.374.313-.556.05-.086.13-.186.125-.292-.01-.187-.238-.083-.338-.04-.283.121-.452.288-.652.517-.045.05-.133.143-.185.048-.113-.206.136-.63.252-.79.05-.07.17-.167.16-.263-.012-.11-.239-.209-.317-.275-.203-.174-.452-.44-.516-.708-.08-.34-.014-.766-.014-1.114 0-.126-.032-.307.031-.422.135-.243.472-.307.507-.639.043-.413-.533-.502-.538-.875-.004-.318 0-.636 0-.954 0-.181-.02-.365.066-.53.117-.227.293-.436.49-.598.075-.061.28-.147.291-.254.01-.087-.092-.173-.14-.236a1.54 1.54 0 0 1-.27-.583c-.016-.07-.045-.192.01-.253.076-.081.175.071.216.12.186.229.387.38.663.487.097.038.276.102.284-.063.005-.105-.074-.205-.125-.29a12.22 12.22 0 0 1-.313-.558c-.29-.546-.608-1.08-.915-1.617C7.393.646 7.075.098 6.999 0M1.088 3.235c.01.11.268.577.4.848.225.452.455.901.68 1.352.09.181.173.455.317.598.14.14.192-.108.211-.2.059-.274.003-.51-.097-.769.255-.026.423.3.506.504.028.069.044.197.117.234.097.05.417-.116.544-.126.377-.028.758.083 1.06.316-.2.048-.41.047-.61.1-.374.099-.718.272-1.06.45-.118.062-.485.209-.506.356-.021.15.375.301.48.362.529.308 1.106.535 1.723.535-.285.293-.779.405-1.167.341-.172-.028-.33-.117-.504-.129-.066.288-.234.704-.556.77.013-.154.07-.3.094-.451a1.09 1.09 0 0 0-.052-.477c-.023-.07-.084-.14-.16-.085-.158.113-.25.444-.336.615-.247.496-.498.991-.75 1.484-.096.299-.334.633-.334.716.058.004.73-.047 1.06-.094.43-.062.867-.097 1.3-.148l.556-.068c.07-.01.169.002.222-.054.093-.095-.076-.195-.142-.238-.242-.155-.491-.171-.77-.193.1-.336.656-.292.929-.292 0-.613.233-1.241.875-1.458-.049.395.066.797.262 1.14.052.092.18.362.317.274.151-.097.231-.376.28-.539.158-.522.149-1.051.149-1.59-.093.042-.158.109-.24.17a.837.837 0 0 1-.132.084c-.417.208-.218-.32-.092-.494.034-.047.088-.097.095-.159.016-.146-.441-.536-.23-.688.195-.141.44.216.599.264 0-.556.016-1.11-.169-1.644-.065-.19-.234-.515-.362-.53-.088.05-.548.912-.477 1.485-.621-.317-.875-.815-.875-1.485-.364 0-.636-.02-.955-.212.217-.156.53-.107.77-.25.066-.04.195-.105.195-.196 0-.082-.108-.1-.17-.11-.184-.026-.37-.035-.556-.061-.795-.115-1.636-.258-2.44-.258m8.671 1.087c0 .668-.256 1.169-.875 1.485.024-.592-.366-1.435-.477-1.485-.178.031-.303.342-.366.53-.178.536-.165 1.089-.164 1.644.11-.034.17-.124.265-.188a.678.678 0 0 1 .132-.071c.407-.16.149.384.046.524-.034.047-.081.097-.074.16.01.094.118.184.164.264.075.132.1.278.13.425-.297.049-.423-.18-.663-.292 0 .542-.023 1.096.154 1.617.053.156.128.42.274.513.137.088.265-.182.317-.274.197-.343.309-.744.262-1.14.64.216.875.848.875 1.458.273 0 .83-.044.928.292-.278.022-.527.038-.769.193-.066.043-.235.143-.142.238.053.055.152.045.222.054l.557.068c.432.051.869.086 1.299.148.33.047.893.13 1.06.094 0-.106-.252-.538-.377-.795l-.72-1.432c-.081-.16-.175-.482-.322-.588-.077-.056-.137.014-.161.085a1.1 1.1 0 0 0-.056.477c.022.153.085.296.099.45-.324-.065-.49-.48-.557-.769-.174.012-.332.1-.504.13-.388.063-.882-.049-1.167-.342.618 0 1.195-.227 1.724-.535.1-.058.5-.222.48-.364-.022-.14-.37-.272-.48-.336a4.622 4.622 0 0 0-1.114-.473c-.191-.05-.392-.05-.583-.095a1.551 1.551 0 0 1 1.06-.316c.127.01.447.177.544.126.073-.037.09-.165.117-.234.083-.204.25-.53.506-.504-.1.261-.156.492-.097.77.02.091.072.338.211.2.144-.144.227-.418.317-.599.226-.45.455-.9.68-1.352.093-.339.4-.7.4-.848-.792 0-1.628.138-2.412.254-.156.023-.652-.01-.74.134-.063.102.117.197.183.236.116.07.236.12.37.141.083.013.24.003.307.057.12.099-.196.206-.253.221a1.092 1.092 0 0 1-.239.043c-.123.005-.247 0-.37 0z" />, | ||
'Ice' | ||
) |
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,6 @@ | ||
import { createSvgIcon } from '@mui/material' | ||
|
||
export const ImaginaryIcon = createSvgIcon( | ||
<path d="M6.635 3.29c-.004-.534-.173-1.129-.287-1.65-.025-.115-.055-.494-.25-.43-.203.067-.33.454-.353.64-.076.61.21 1.348.32 1.948l-.2-.51-.309-1.018c-.283.148-.226.585-.154.84.195.686.396 1.375.57 2.067.08.32.111.682.453.81l.09-.3c.157.092.147.342.15.51.005.29.042.673.251.894.188.2.418-.04.48-.235.047-.155.02-.35.02-.51 0-.322.004-.638.03-.959h.03c.036.157.032.858.325.787.22-.054.25-.665.28-.847.158-.904.33-1.869.352-2.787.006-.24.05-.56-.068-.78-.056-.104-.184-.235-.315-.186-.166.06-.18.34-.21.486a6.27 6.27 0 0 0-.095.96c-.007.191-.006.46-.15.6 0-.67.097-1.336.09-2.01-.004-.25-.033-.65-.36-.6 0-.275.014-.68-.13-.925-.144-.248-.406.108-.435.267-.125.682-.004 1.411-.004 2.098 0 .235.04.656-.12.84m-2.878.12c.11.811.633 1.52 1.32 1.93.176.104.365.248.57.287-.208-.789-.63-1.38-1.29-1.85-.187-.133-.379-.298-.6-.368m4.586 2.188c.213.022.452-.193.63-.3a2.71 2.71 0 0 0 1.26-1.888c-.219.064-.418.233-.6.364-.665.478-1.038 1.05-1.29 1.824m-4.586.45c-.397.04-.722-.348-1.109-.32-.217.014-.44.234-.26.434.157.177.426.26.65.305v.03c-.499 0-.995-.11-1.499-.055-.203.022-.344.186-.54.203-.135.012-.759.03-.735.244.026.226.557.352.736.407.298.092.65.058.96.072.56.024 1.114.058 1.677.058v.06c-.389.003-.779.06-1.169.06-.25 0-.498.024-.749.03-.218.006-.423.084-.63.146-.076.023-.19.043-.22.13-.074.217.463.378.61.404.408.07.876.01 1.29.01.558 0 1.153.058 1.708-.004.153-.017.473-.245.473-.416 0-.095-.114-.18-.174-.24.314-.037.61.002.9-.142.098-.05.306-.127.215-.27-.225-.358-.862-.259-1.055-.667l.69-.03c-.067-.278-.403-.436-.63-.575-.623-.382-1.309-.816-2.008-1.038a2.922 2.922 0 0 0-.78-.127c-.085-.003-.265-.047-.253.095.016.193.257.36.404.455.285.185.613.308.93.428.208.08.43.127.57.313m5.394.48c-.195.407-.83.308-1.055.665-.09.144.117.222.215.27.264.133.577.144.87.113-.038.082-.132.177-.13.27 0 .155.262.37.4.407.31.084.728.013 1.05.013h1.347c.221 0 .473.033.69-.016.143-.033.653-.185.58-.397-.03-.088-.144-.108-.22-.13-.22-.067-.428-.146-.66-.147-.24 0-.478-.03-.72-.03-.39 0-.78-.052-1.168-.06v-.06c.563 0 1.117-.034 1.678-.058.312-.014.66.02.96-.072.177-.055.715-.184.743-.407.025-.194-.586-.236-.714-.243-.207-.01-.36-.178-.57-.203-.49-.06-.98.05-1.468.054v-.03c.216-.06.464-.135.623-.305.186-.2-.044-.42-.263-.437-.386-.03-.722.425-1.11.293.397-.347 1.02-.41 1.47-.692.158-.099.407-.268.43-.474.015-.128-.14-.097-.22-.094a3.111 3.111 0 0 0-.72.095c-.734.196-1.49.682-2.128 1.084-.13.083-.62.32-.556.523.058.188.507.068.646.067M6.216 7.62c-.066.007-.19.018-.185.11.008.138.18.242.24.356.093.17.11.41.122.6.05.72.02 1.45.013 2.174-.005.441.046.886-.13 1.302-.247.584-.816.985-1.379 1.233-.155.07-.723.18-.723.386 0 .138.167.173.274.178.328.017.66.001.99.001h2.936c.377 0 .932.104 1.29-.02.45-.158-.18-.395-.33-.45-.635-.235-1.292-.634-1.59-1.268-.198-.42-.149-.868-.149-1.319 0-.729-.017-1.46 0-2.188.006-.238.041-.527.19-.72.052-.068.223-.21.165-.31-.124-.216-.62.026-.745.117-.06.044-.128.127-.21.127-.098 0-.19-.118-.27-.168a.805.805 0 0 0-.509-.14m-2.458 2.862c.221-.022.436-.157.63-.26.59-.315.952-.686 1.23-1.298.071-.158.16-.305.18-.48-.487.122-1.168.452-1.49.84-.277.333-.433.787-.55 1.198m4.436-2.038c.081.79.76 1.43 1.41 1.777.193.104.407.24.63.261-.1-.424-.3-.938-.604-1.258-.338-.36-.965-.644-1.436-.78M2.68 11.591l.63-.259.09-.55-.63.168-.09.641m7.913-.809.09.55.63.26-.09-.642z" />, | ||
'Imaginary' | ||
) |
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,6 @@ | ||
import { createSvgIcon } from '@mui/material' | ||
|
||
export const LightningIcon = createSvgIcon( | ||
<path d="m7.151 0-.354 1.137-.808 3.108-.581 2.426c.326-.128.622-.572.985-.594.236-.013.314.248.303.443-.028.512-.353.956-.455 1.44l.531.38.493.606-.253.606-.682 1.062-.354.53.341.91c-.255-.256-.582-.507-.745-.834-.244-.487-.01-1.686.442-1.971l-1.25-1.365-.039-.91-.076-1.97h-.075L2.906 7.126H2.83l-.076-.834-.038-.442 1.226-.404.581-.973 1.34-2.578h-.076L4.043 3.942l-.758.872-.455.076-.682.606-1.213.417.985 1.062.683 2.122 1.06-2.198h.077c.151.576.627 1.033.821 1.592.087.251-.112.435-.139.682-.074.664.164 1.364-.758 1.403-.125.005-.255-.028-.38-.038l1.29 1.01 1.617 1.567L7 14l.758-.784.682-.353 1.82-.96v-.076l-1.062-.228.253-1.668.43-1.44.543.985.897 1.062.253-1.365.278-1.061.075-.834.038-.518 1.1-.695v-.076l-1.896-1.112-.657-.19-.19-.82L8.895 2.35l-.986-.91 1.188 1.896.53.834-.201 1.213c.36.151.872.084 1.213.265.263.14.592 1.032.543 1.327-.055.33-.412.592-.518.91-.075.224-.025.523-.025.757h-.076c-.294-.77-.584-1.543-.878-2.314-.26.924-.526 1.846-.79 2.77l-1.34-1.517.178-.682.783-1.971c-.314.115-.875.585-1.213.505C6.689 5.288 7 4.504 7 4.093c0-.945.06-1.938.151-2.88.034-.351.213-.921 0-1.213m1.592 10.234-.227 1.365-.164.43-.822.404.885-1.668z" />, | ||
'Lightning' | ||
) |
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,6 @@ | ||
import { createSvgIcon } from '@mui/material' | ||
|
||
export const PhysicalIcon = createSvgIcon( | ||
<path d="M6.896.018c-.243.12-.46.428-.65.617-.407.407-.918.803-1.257 1.267-.124.17.13.52.33.496.15-.017.276-.242.372-.342.288-.301.577-.615.894-.886.108-.093.278-.252.432-.23.15.022.294.166.402.26.292.254.563.542.828.823.102.107.294.428.47.367.13-.044.367-.277.305-.426-.076-.186-.32-.355-.46-.495L7.512.419c-.13-.13-.4-.506-.615-.4m-.065 2.748c.1.413.031.904.031 1.328 0 .109-.05.383.05.457.21.157.197-.24.197-.334v-1.42c.302.14.462.56.772.669.086.03.148-.026.203-.085.126-.131.452-.417.423-.615-.02-.148-.195-.261-.296-.356-.284-.267-.563-.54-.855-.796-.107-.094-.238-.284-.4-.258-.122.02-.216.137-.302.216-.199.18-.4.36-.595.546-.162.156-.554.413-.59.648-.032.2.292.482.418.615.054.058.117.12.203.09.264-.092.545-.51.741-.706m4.262 8.309c-.048-.374-.14-.945-.34-1.267-.234-.378-.702-.698-1.027-1.002A111.2 111.2 0 0 1 7.604 6.78c-.485-.48-1.16-.931-1.552-1.49-.113-.161-.005-.377-.09-.548-.147-.294-.45-.496-.595-.803-.054-.114-.118-.242-.082-.37.06-.218.255-.36.102-.587-.06-.088-.135-.168-.205-.247-.348-.395-.722.146-1.006.392-.07.06-.177.189-.278.188-.13 0-.26-.196-.343-.282-.2-.21-.406-.42-.604-.633-.087-.093-.176-.22-.32-.213-.127.005-.227.12-.317.2-.098.086-.26.2-.257.348.003.126.123.226.204.308.21.214.407.438.618.649.073.073.24.19.24.306 0 .089-.12.165-.178.218-.2.178-.807.518-.603.835.097.15.326.507.54.44.15-.048.23-.235.403-.203.45.083.7.464 1.08.653.187.093.406-.02.584.11.42.308.78.77 1.148 1.139L8.407 9.5c.395.394.797.942 1.267 1.243.125.08.29.092.432.127.32.079.66.19.988.205m.031-8.77c-.317.153-.586.583-.834.832-.073.074-.197.269-.31.272-.095.003-.19-.107-.254-.164-.19-.172-.66-.767-.94-.53-.136.115-.379.353-.37.546.015.313.245.397.1.74-.136.32-.455.508-.603.804-.093.187.026.406-.107.586-.124.17-.488.337-.514.557-.012.098.092.182.156.24.176.166.473.55.711.6.1.023.182-.07.247-.131.167-.16.318-.34.495-.49.19-.16.412-.03.614-.132.333-.17.566-.47.93-.616.286-.115.467.276.705.148.093-.05.158-.157.224-.237.073-.088.184-.19.202-.31.035-.23-.392-.5-.544-.63-.08-.07-.305-.2-.272-.327.027-.104.156-.21.228-.285.197-.21.403-.41.596-.623.08-.088.224-.2.236-.327.021-.221-.485-.626-.696-.524M3.188 7.09h1.266c.114 0 .361.042.412-.1.067-.183-.25-.177-.35-.177-.41-.002-.863-.051-1.267.03-.082-.397.48-.623.68-.895-.16-.106-.513-.416-.71-.376-.44.09-.593.685-.958.87-.136.068-.346.03-.494.03H.593c-.175 0-.383-.015-.51.13-.1.116-.077.286-.077.427 0 .1-.012.215.037.307.116.22.404.187.612.187h1.143c.146 0 .36-.038.493.032.128.067.208.23.298.339.211.258.44.504.691.723.092.08.19.205.31.24.174.052.668-.407.583-.584-.054-.112-.217-.2-.306-.287-.262-.255-.56-.543-.68-.895m6.888-1.174c.105.356.74.49.65.926-.4-.084-.859-.032-1.268-.03-.1 0-.417-.005-.35.178.051.14.298.1.412.1h1.267c-.129.368-.46.694-.742.954-.102.095-.323.207-.227.374.087.15.4.512.598.425.364-.16.7-.635.948-.933.1-.12.196-.312.35-.37.141-.053.344-.018.493-.018h1.05c.178 0 .396.032.555-.065.296-.18.223-.885-.122-.97-.617-.15-1.337.146-1.945-.03-.393-.111-.544-.876-1.02-.887-.204-.005-.472.252-.649.346m-7.32 5.25c.293-.012.58-.117.865-.178.186-.04.422-.062.587-.162.178-.107.315-.3.466-.44.4-.378.782-.776 1.17-1.165.227-.227.456-.451.68-.68.074-.075.207-.183.152-.303-.11-.245-.486-.467-.677-.654-.065-.064-.147-.166-.247-.166-.21 0-.496.419-.643.553-.422.385-.817.8-1.24 1.183-.244.22-.628.48-.776.778-.176.355-.248.848-.337 1.234m6.332-.401v-.031l-.556-.495-.247-.165-.34.259-.803.74c-.105-.44-.03-.968-.03-1.42 0-.086-.059-.5-.216-.268-.062.09-.032.257-.032.36v.865c0 .09.043.349-.05.404-.059.036-.126-.03-.166-.066-.14-.124-.27-.267-.402-.4-.116-.116-.38-.475-.558-.474-.157 0-.349.258-.462.354-.096.08-.243.172-.265.306-.03.187.214.325.328.434.402.382.815.76 1.235 1.123.106.092.34.385.494.347.21-.05.46-.371.618-.516.48-.44 1.04-.852 1.452-1.357m-4.417.37c-.13.012-.465.217-.399.37.096.226.383.449.554.619.466.466.953.905 1.451 1.337.164.142.483.538.71.538.198 0 .474-.335.618-.458a26.431 26.431 0 0 0 1.606-1.48c.142-.142.664-.552.43-.733-.09-.07-.274-.232-.396-.188-.204.074-.42.454-.564.613a6.775 6.775 0 0 1-1.138.987c-.154.108-.416.343-.617.3-.183-.04-.377-.212-.525-.321a7.578 7.578 0 0 1-1.138-.997c-.119-.131-.4-.602-.592-.586z" />, | ||
'Physical' | ||
) |
Oops, something went wrong.