【文件属性】:
文件名称:react-native-beautiful-timeline:完全可定制,设计精美的React Native时间线
文件大小:3.85MB
文件格式:ZIP
更新时间:2024-02-24 06:00:17
react javascript android ios apple
安装
添加依赖项:
npm i react - native - beautiful - timeline
对等依赖
重要! 您需要安装它们
"react" : ">= 16.x.x" ,
"react-native" : ">= 0.55.x" ,
"moment" : ">= 2.24.0" ,
"react-native-dash" : ">= 0.0.11" ,
"react-native-androw" : ">= 0.0.34" ,
"@freakycoder/react-native-helpers" : ">= 0.1.0" ,
用法
进口
import Timeline from "react-native-beautiful-timeline" ;
基本用法
资料格式
数据格式必须类似于此示例。
[
{
" date " : 1574342522000 ,
" data " : [
{
" title " : " React Native Beautiful Timeline " ,
" subti