Re-export newskie icon

This commit is contained in:
Eric Bailey
2024-06-18 11:23:32 -05:00
parent 27b844d1bb
commit ac56bb662f
2 changed files with 6 additions and 16 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ export function NewskieDialog({
)}
hitSlop={HITSLOP_10}
onPress={control.open}>
<Newskie size={22} />
<Newskie size="lg" fill="#FFC404" />
</Button>
<Dialog.Outer control={control}>
+5 -15
View File
@@ -1,15 +1,5 @@
import * as React from 'react'
import {View} from 'react-native'
import Svg, {Path} from 'react-native-svg'
export function Newskie({size}: {size: number}) {
return (
<View style={{height: size, width: size}}>
<Svg fill="none" viewBox="0 0 21 11">
<Path
fill="#FFC404"
d="M14.147 10.984c.538 0 .975-.403.975-.942 0-2.782-2.264-5.03-5.047-5.03-2.782 0-5.046 2.24-5.046 5.022 0 .539.437.95.975.95h8.143Zm-4.072-7.439c-.544 0-.892-.44-.892-.984V.985c0-.544.349-.985.892-.985.545 0 .893.44.893.985V2.56c0 .545-.348.985-.893.985Zm4.618 1.913a.983.983 0 0 1 0-1.393l1.114-1.114A.985.985 0 0 1 17.2 4.344l-1.114 1.114a.985.985 0 0 1-1.393 0ZM19.165 9.2H17.59c-.544 0-.985.353-.985.896a.87.87 0 0 0 .89.887h1.67c.544 0 .985-.348.985-.892 0-.543-.44-.892-.985-.892Zm-15.62.892c0-.544-.44-.892-.985-.892H.985c-.544 0-.985.349-.985.892 0 .544.44.892.985.892H2.56c.545 0 .985-.348.985-.892Zm1.913-4.634a.985.985 0 0 0 0-1.393L4.344 2.95A.985.985 0 0 0 2.95 4.344l1.114 1.114a.983.983 0 0 0 1.393 0Z"
/>
</Svg>
</View>
)
}
import {createSinglePathSVG} from './TEMPLATE'
export const Newskie = createSinglePathSVG({
path: 'M11.183 8.561c0 .544.348.984.892.984.545 0 .893-.44.893-.985V6.985c0-.544-.348-.985-.893-.985-.543 0-.892.44-.892.985v1.576Zm5.94 7.481c0 .539-.438.942-.976.942H8.004c-.538 0-.975-.411-.975-.95 0-2.782 2.264-5.021 5.046-5.021 2.783 0 5.047 2.247 5.047 5.03Zm-.43-4.584a.983.983 0 0 1 0-1.393l1.114-1.114a.985.985 0 0 1 1.393 1.393l-1.114 1.114a.985.985 0 0 1-1.393 0Zm2.897 3.741h1.575c.544 0 .985.349.985.892 0 .544-.44.892-.985.892h-1.67a.872.872 0 0 1-.89-.887c0-.543.44-.897.985-.897Zm-14.045.893c0-.544-.44-.892-.985-.892H2.985c-.544 0-.985.349-.985.892 0 .544.44.892.985.892H4.56c.545 0 .985-.349.985-.892Zm1.913-6.027a.985.985 0 0 1-1.393 1.393L4.95 10.344A.985.985 0 0 1 6.344 8.95l1.114 1.114Z',
})