import * as React from 'react'; import { Text, TextStyle, View } from 'react-native'; import { toFixed2 } from '../../shared/utils'; import btStyles from '../BottomButton/style'; interface PriceProps { total?:string | number; style?:TextStyle; desc?:string } const Price:React.FC = ({ total=0, style={}, desc='' }:PriceProps) => ( ¥ {toFixed2(total??0)} ) export default Price