1.1.15 • Published 4 years ago
react-spring-dialog v1.1.15
React Spring Dialog
A simple, accessible and performant Dialog component powered by
react-spring.
Features
- Excelent performances thanks to
react-spring. - Accessibility ready thanks to the use of
focus-trap-reactamong other things. - Easy to style and to configure: no more headaches or hacky things trying to make the Dialog looks like we want.
Install
npm install --save react-spring-dialogor
yarn add react-spring-dialogHow to use it
import { Dialog } from 'react-spring-dialog'
export function Component() {
const [isActive, setIsActive] = useState(true)
return (
<Dialog isActive={isActive} onClose={() => setIsActive(false)}>
<div>Dialog content</div>
<button onClick={() => setIsActive(false)}>CLOSE</button>
</Dialog>
)
}Official documentation
1.1.8
4 years ago
1.1.15
4 years ago
1.1.13
4 years ago
1.1.7
4 years ago
1.1.6
5 years ago
1.1.5
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1-beta.3
5 years ago
1.1.1-beta.2
5 years ago
1.1.1-beta.1
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.0
5 years ago
0.1.6
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.1
5 years ago
0.0.3
5 years ago