GeekyAnts / GeekyAnts/NativeBase

react-app, Modal not show

Open
#4,999 7 comments 0 reactions 1 assignee Claimed by @mayank-96 View on GitHub
awaiting response bug can't reproduce v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

Modal not show on react app

### CodeSandbox/Snack link

none

### Steps to reproduce

_No response_

### NativeBase Version

3.4.4

### Platform

- [ ] Android
- [X] CRA
- [ ] Expo
- [ ] iOS
- [ ] Next

### Other Platform

_No response_

### Additional Information

import React, {useState} from "react";
import {Box, Button, FormControl, Input, Modal} from "native-base";

const TestModal =()=> {
const [showModal, setShowModal] = useState(false);
return
setShowModal(true)}>
Button ...

setShowModal(false)}>


Contact Us


Name



Email





{
setShowModal(false);
}}>
Cancel

{
setShowModal(false);
}}>
Save





;
}
export default TestModal;

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.