UNPKG

@livelike/react-native

Version:

LiveLike React Native package

38 lines 989 B
import React from 'react'; import { View, StyleSheet } from 'react-native'; import { useStyles } from '../../hooks'; import { LLText } from '../LLText'; export function LLCheerMeterWidgetCheerCount(_ref) { let { totalCheerCount, styles: stylesProp } = _ref; const styles = useStyles({ componentStylesFn: getCheerMeterWidgetTotalCountStyles, stylesProp }); return /*#__PURE__*/React.createElement(View, { style: styles.cheerCountContainer }, /*#__PURE__*/React.createElement(LLText, { style: styles.cheerCountText }, totalCheerCount)); } const getCheerMeterWidgetTotalCountStyles = _ref2 => { let { theme } = _ref2; return StyleSheet.create({ cheerCountContainer: { position: 'absolute', left: '45%', height: '100%', justifyContent: 'center', alignItems: 'center' }, cheerCountText: { fontSize: 18, color: theme.text } }); }; //# sourceMappingURL=LLCheerMeterWidgetCheerCount.js.map