feat: sync icons
This commit is contained in:
parent
61b3371848
commit
870905d7b7
|
|
@ -0,0 +1,34 @@
|
|||
import * as React from "react"
|
||||
import Svg, { Path } from "react-native-svg"
|
||||
|
||||
interface ArrowLeftCuteReIconProps {
|
||||
width?: number
|
||||
height?: number
|
||||
color?: string
|
||||
}
|
||||
|
||||
export const ArrowLeftCuteReIcon = ({
|
||||
width = 24,
|
||||
height = 24,
|
||||
color = "#10161F",
|
||||
}: ArrowLeftCuteReIconProps) => {
|
||||
return (
|
||||
<Svg width={width} height={height} fill="none" viewBox="0 0 24 24">
|
||||
<Path fill="#fff" fillOpacity={0.01} d="M24 0v24H0V0z" />
|
||||
<Path
|
||||
stroke={color}
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
strokeWidth={2}
|
||||
d="M5 12h15m-10 5.657c-2.109-1.055-3.591-2.66-4.897-4.522-.372-.53-.559-.796-.55-1.124.007-.33.208-.588.609-1.105C6.538 9.132 8.044 7.55 10 6.343"
|
||||
/>
|
||||
<Path
|
||||
stroke={color}
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
strokeWidth={2}
|
||||
d="M5 12h15m-10 5.657a15.962 15.962 0 0 1-4.98-4.63c-.335-.473-.501-.71-.501-1.027 0-.317.166-.554.5-1.028A15.962 15.962 0 0 1 10 6.343"
|
||||
/>
|
||||
</Svg>
|
||||
)
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path stroke="#10161F" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h15m-10 5.657c-2.109-1.055-3.591-2.66-4.897-4.522-.372-.53-.559-.796-.55-1.124.007-.33.208-.588.609-1.105C6.538 9.132 8.044 7.55 10 6.343"/><path stroke="#10161F" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h15m-10 5.657a15.962 15.962 0 0 1-4.98-4.63c-.335-.473-.501-.71-.501-1.027 0-.317.166-.554.5-1.028A15.962 15.962 0 0 1 10 6.343"/></svg>
|
||||
|
After Width: | Height: | Size: 597 B |
|
|
@ -1 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path fill="#10161F" d="M12 7a1 1 0 1 0 0 2zm.002 2a1 1 0 0 0 0-2zM11 10a1 1 0 1 0 0 2zm1.5 8a1 1 0 1 0 0-2zm7.5-6a8 8 0 0 1-8 8v2c5.523 0 10-4.477 10-10zm-8 8a8 8 0 0 1-8-8H2c0 5.523 4.477 10 10 10zm-8-8a8 8 0 0 1 8-8V2C6.477 2 2 6.477 2 12zm8-8a8 8 0 0 1 8 8h2c0-5.523-4.477-10-10-10zm0 5h.002V7H12zm-1 2.5v5h2v-5zm.5-1.5H11v2h.5zm-.5 6.5a1.5 1.5 0 0 0 1.5 1.5v-2a.5.5 0 0 1 .5.5zm2-5a1.5 1.5 0 0 0-1.5-1.5v2a.5.5 0 0 1-.5-.5z"/></svg>
|
||||
|
Before Width: | Height: | Size: 568 B |
|
|
@ -1 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path stroke="#10161F" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 7v3.757a3 3 0 0 0 .879 2.122L15 15m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0"/></svg>
|
||||
|
Before Width: | Height: | Size: 302 B |
|
|
@ -41,6 +41,7 @@
|
|||
"publish": "electron-vite build && electron-forge publish",
|
||||
"start": "electron-vite preview",
|
||||
"sync:ab": "tsx scripts/pull-ab-flags.ts",
|
||||
"sync:icons": "tsx scripts/svg-to-rn.ts && prettier --write apps/mobile/src/icons/**/*.tsx",
|
||||
"test": "CI=1 pnpm --recursive run test",
|
||||
"typecheck": "turbo typecheck",
|
||||
"update:main-hash": "tsx plugins/vite/generate-main-hash.ts"
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ interface ${componentName}Props {
|
|||
export const ${componentName} = ({
|
||||
width = ${width},
|
||||
height = ${height},
|
||||
color = "${DEFAULT_COLOR}",
|
||||
${pathElements.includes(`{color}`) ? `color = "${DEFAULT_COLOR}",` : ""}
|
||||
}: ${componentName}Props) => {
|
||||
return (
|
||||
<Svg width={width} height={height} fill="none" viewBox="0 0 ${width} ${height}">
|
||||
|
|
|
|||
Loading…
Reference in New Issue