Este es un OnBoarding dinamico, el cual permite crear onBoardings persoonalizados con gran facilidad
Para lograr instalar el paquete correctamente se debe tener instalada la ultima version de Node js
Para instalar el paquete se necesita ejecutar la siguiente linea de codigo
Say what the step will be
npm i onboarding_danymilan
Y despues correr el proyecto
npx react-native run-android
Una vez terminado estos pasos ya esta lista la libreria para ser importada y trabajada en ella
El import se debe realizar de la siguiente manera
import MyOnboarding from 'onboarding_danymilan/src';
De esta manera se debe cargar la data y enviar la funcion de ser necesario
const data = [
{
title: 'Confianza 2',
text: 'Lo mejor en medicina.\nEn sus manos',
imagen: Imagen.LOGO,
color: '#F07243',
},
{
title: 'Informacion',
text: 'Toda la informacion a su alcance',
imagen:Imagen.LOGO,
color: '#F07243',
},
{
title: 'Interaccion',
text: 'Interacciones en tiempo real',
imagen:Imagen.LOGO,
color: '#F07243',
},
{
title: 'Interaccion',
text: 'Interacciones en tiempo real',
imagen:Imagen.LOGO,
color: '#000000',
},
];
const App: () => React$Node = () => {
return (
<>
<MyOnboarding data={data} />
</>
);
};
Diseñado por CodeGroup,2020
0.0.4
DanyMilan(Esteban Pereira)
Copyright (c) 2020 CodeGroup
Licensed under the The MIT License (MIT) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://raw.githubusercontent.com/airbnb/react-native-maps/master/LICENSE
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.