Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to enable PNG or SVG image format #257

Open
jamesson-dev opened this issue Feb 3, 2022 · 2 comments
Open

how to enable PNG or SVG image format #257

jamesson-dev opened this issue Feb 3, 2022 · 2 comments

Comments

@jamesson-dev
Copy link

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

@curiousmockingbird
Copy link

I have the same concern

@Zarinia
Copy link

Zarinia commented Sep 18, 2023

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,
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants