How to get elements by tag name of DOM child in React Native?

ik6ne

Trần Huy

Posted on June 21, 2024

How to get elements by tag name of DOM child in React Native?

I want to get all element with tag 'path' of imported svg to handle animation for it. What is the best way to do this? Thanks!

My code look like this:

import React, { useEffect, useRef, useState } from 'react'
import MascotDisplay from '@/assets/mascot/4-pandy.svg'

export default function HomeScreen() {
    const
💖 💪 🙅 🚩
ik6ne
Trần Huy

Posted on June 21, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related