how to export js file in react code example
Example: react export
import React from 'react';
import {Text} from 'react-native';
export default function Cat() {
return (
<Text>Hello, I am your cat!</Text>
);
}
import React from 'react';
import {Text} from 'react-native';
export default function Cat() {
return (
<Text>Hello, I am your cat!</Text>
);
}