mirror of
https://github.com/status-im/wakuconnect-chat-sdk.git
synced 2025-01-10 12:15:49 +00:00
a5fdd22d51
* feat: add blurview to topbar and composer with scroll position * fix: icon button component and adds scrolls var position for the top bar * fix: changes from review
22 lines
539 B
TypeScript
22 lines
539 B
TypeScript
import { Circle, Svg } from 'react-native-svg'
|
|
import { useCurrentColor } from 'tamagui'
|
|
|
|
import type { SvgProps } from 'react-native-svg'
|
|
|
|
const SvgNotificationIcon = (props: SvgProps) => {
|
|
const { color: colorToken = 'currentColor', ...rest } = props
|
|
const color = useCurrentColor(colorToken)
|
|
return (
|
|
<Svg
|
|
width={20}
|
|
height={20}
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...rest}
|
|
>
|
|
<Circle cx={10} cy={10} r={4} fill={color} />
|
|
</Svg>
|
|
)
|
|
}
|
|
export default SvgNotificationIcon
|