@nguyentc21/react-native-tooltip
Version:
Simple tooltip for React native app
25 lines • 491 B
JavaScript
import React from 'react';
import { StyleSheet, View } from 'react-native';
function Caret(props) {
const {
style,
backgroundColor,
size
} = props;
return /*#__PURE__*/React.createElement(View, {
style: [{
backgroundColor,
width: size,
height: size
}, lStyles.container, style]
});
}
const lStyles = StyleSheet.create({
container: {
transform: [{
rotate: '45deg'
}]
}
});
export default Caret;
//# sourceMappingURL=Caret.js.map