react-native-kakao-logo
(not official) Kakao svg-logo for React Native
Required
install react-native-svg
Preview
Example code and screenshot
import React from 'react';import SafeAreaView StyleSheet StatusBar Text View from 'react-native';import KakaoLogo from 'react-native-kakao-logo'; const options = backgroundColor: '#ff4253' padding: 10 backgroundColor: '#81ca4e' padding: 10 backgroundColor: '#297ef5' padding: 10 backgroundColor: '#5b5b5b' padding: 10 ; const App = return <> <StatusBar = /> <SafeAreaView => <View => options </View> <KakaoLogo = = = /> <Text>react-native-kakao-logo</Text> </SafeAreaView> </> ;; const styles = StyleSheet; ;
Props
Prop | Type | Default | Description |
---|---|---|---|
size? | number | 25 | Logo size |
color? | string | #3C1E1E | Logo color |
style? | ViewStyle | none | Logo Wrapper Style |