react importing components code example
Example 1: import react component
import React, { Component } from 'react';
Example 2: react export
import React from 'react';
import {Text} from 'react-native';
export default function Cat() {
return (
<Text>Hello, I am your cat!</Text>
);
}