react-native-app-intro-slider icon indicating copy to clipboard operation
react-native-app-intro-slider copied to clipboard

how to enable PNG or SVG image format

Open jamesson-dev opened this issue 3 years ago • 2 comments

const slides = [
  {
    key: '1',
    title: '',
    text : 'Saiba quanto dinheiro está entrando e quanto está saindo.',
    image: require('../../Assets/image/red_1.jpg'),
  },
  {
    key: '2',
    title: '',
    text : 'Anote o valor de seus gastos e movimentos.',
    image: require('../../Assets/image/red_2.jpg'),
  },
  {
    key: '3',
    image: require('../../Assets/image/red_1.jpg'),
    title: '',
    text: 'Acompanhe melhor o seu crescimento e suas atividades!',
  },

];

// desired .svg format

jamesson-dev avatar Feb 03 '22 12:02 jamesson-dev

I have the same concern

curiousmockingbird avatar Feb 10 '23 16:02 curiousmockingbird

You can use this code: import svgImage_1 from '../../Assets/image/red_1.svg'; { key: '1', title: '', text : 'Anote o valor de seus gastos e movimentos.', image: svgImage_1, }

Zarinia avatar Sep 18 '23 05:09 Zarinia