📅  最后修改于: 2022-03-11 15:02:26.660000             🧑  作者: Mango
import React from 'react';
import Icon from 'react-native-vector-icons/Ionicons';
import { StyleSheet, View } from 'react-native';
import AppIntroSlider from 'react-native-app-intro-slider';
const styles = StyleSheet.create({
buttonCircle: {
width: 40,
height: 40,
backgroundColor: 'rgba(0, 0, 0, .2)',
borderRadius: 20,
justifyContent: 'center',
alignItems: 'center',
},
//[...]
});
// slides = [...]
export default class App extends React.Component {
_renderItem = ({ item }) => {
return (
{item.title}
{item.text}
);
}
_renderNextButton = () => {
return (
);
};
_renderDoneButton = () => {
return (
);
};
render() {
return (
);
}
}