Last Updated on : 2021-08-27 11:07:50download
Field name | Type | Description | Default value |
---|---|---|---|
localTextStyle | StyleProp<TextStyle> | The text style. | null |
lonlat | Object | The longitude and latitude. | {longitude: number; latitude: number} |
textProps | Object | Other text parameters. | numberOfLines: 2 |
import React from 'react'
import { LocationText } from '@tuya/tuya-panel-outdoor-sdk'
const LocationTextView = () => {
const lonlat = {
longitude: 121.492951,
latitude: 31.22337,
};
return <LocationText lonlat={lonlat} />;
}
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback