-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add .png for every icon used in the app * chore: removed react-native-svg * chore: reverted basic example change, updated podfile.lock * remove: react-native-svg from example app --------- Co-authored-by: Jakub Grzywacz <kontakt@jakubgrzywacz.pl>
- Loading branch information
Showing
36 changed files
with
42 additions
and
367 deletions.
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,17 +1,12 @@ | ||
import * as React from 'react' | ||
import Svg, { FillProps, Path, Mask, Rect } from 'react-native-svg' | ||
|
||
export default ({ fill }: FillProps) => ( | ||
<Svg width="12" height="7" viewBox="0 0 12 7" fill="none"> | ||
<Mask id="path-1-outside-1_1_34" x="0" y="0" width="12" height="7" fill="black"> | ||
<Rect fill={fill} width="12" height="7" /> | ||
<Path d="M6 6C6 2 2.66667 1.33333 1 1H11C11 1 6 2 6 6Z" /> | ||
</Mask> | ||
<Path d="M6 6C6 2 2.66667 1.33333 1 1H11C11 1 6 2 6 6Z" fill={fill} /> | ||
<Path | ||
d="M1 1V0L0.803884 1.98058L1 1ZM5 6C5 6.55228 5.44772 7 6 7C6.55228 7 7 6.55228 7 6H5ZM11 1L11.1961 1.98058L11 0V1ZM0.803884 1.98058C1.65801 2.15141 2.71193 2.37341 3.56269 2.95193C4.33827 3.47932 5 4.34032 5 6H7C7 3.65968 5.99507 2.18735 4.68731 1.29807C3.45474 0.459925 2.00866 0.181927 1.19612 0.0194193L0.803884 1.98058ZM7 6C7 4.49702 7.91512 3.51712 9.0145 2.85749C9.5593 2.53061 10.1128 2.30817 10.535 2.16743C10.7443 2.09765 10.917 2.04942 11.0342 2.01927C11.0927 2.00423 11.1371 1.99378 11.1649 1.98747C11.1788 1.98431 11.1886 1.9822 11.1939 1.98107C11.1965 1.9805 11.1981 1.98019 11.1985 1.98011C11.1987 1.98007 11.1986 1.98009 11.1982 1.98017C11.198 1.98021 11.1977 1.98026 11.1974 1.98033C11.1972 1.98036 11.1969 1.98043 11.1968 1.98044C11.1965 1.98051 11.1961 1.98058 11 1C10.8039 0.0194193 10.8035 0.019497 10.8031 0.0195786C10.8029 0.0196111 10.8025 0.019697 10.8022 0.019762C10.8015 0.0198923 10.8008 0.0200388 10.8 0.0202014C10.7984 0.0205268 10.7965 0.0209171 10.7943 0.0213734C10.7899 0.022286 10.7842 0.0234629 10.7774 0.0249121C10.7638 0.0278102 10.7455 0.0318001 10.7228 0.0369466C10.6774 0.0472352 10.6143 0.0621743 10.5361 0.0822883C10.3799 0.122459 10.1619 0.183603 9.90252 0.270067C9.38724 0.441827 8.6907 0.719392 7.9855 1.14251C6.58488 1.98288 5 3.50298 5 6H7ZM11 0H1V2H11V0Z" | ||
fill={fill} | ||
mask="url(#path-1-outside-1_1_34)" | ||
/> | ||
</Svg> | ||
import { Image } from 'react-native' | ||
|
||
type Props = { | ||
fill: string | ||
} | ||
|
||
const iconDimensions = { width: 12, height: 10 } | ||
export default ({ fill }: Props) => ( | ||
<Image source={require('./funnel.png')} style={[{ tintColor: fill }, iconDimensions]} /> | ||
) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.