0.0.7 • Published 1 year ago

modal-react-validation v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

modal-react-validation

react modal message validation

NPM JavaScript Style Guide

Prerequisites

This component uses the following tech stack:

Please make sure you have the right versions and download both packages. You can verify this by using this command in your terminal:

# Check Node.js version
node --version

Install this package

npm install modal-react-validation

Import the Modal component, then you need to call the Modal component with two props and write your message.

import React, { useState } from 'react'
import { ModalComponent } from 'modal-react-validation'

function App() {
  const [open, setOpen] = useState(false)

  return (
    <ModalComponent open={open} setOpen={setOpen}>
      your message
    </ModalComponent>
  )
}
export default App

License

MIT © nivoix

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago