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

loading in RN #2431

Merged
merged 1 commit into from
Dec 23, 2024
Merged

loading in RN #2431

merged 1 commit into from
Dec 23, 2024

Conversation

brock-statsig
Copy link
Contributor

No description provided.

@brock-statsig brock-statsig enabled auto-merge (squash) December 23, 2024 20:48

```tsx
export function App() {
const loadingComponent = <div>Loading...</div>;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The <div> element is not available in React Native. Please use React Native's built-in components like <Text> or <View> instead. For example:

const loadingComponent = <Text>Loading...</Text>;

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

@jasonwzm
Copy link
Member

@jasonwzm jasonwzm temporarily deployed to pull request December 23, 2024 20:50 Inactive
@brock-statsig brock-statsig merged commit 55bdd24 into main Dec 23, 2024
3 checks passed
@brock-statsig brock-statsig deleted the add-rn-loading branch December 23, 2024 20:50
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

Successfully merging this pull request may close these issues.

2 participants