react-prompt-viewer

0.0.7 • Public • Published

react-prompt-viewer

Npm Version License

Usage

install

npm i react-prompt-viewer

include

import React from 'react'
import { prompt } from 'react-prompt-viewer'

class Component extends React.Component {
    
  render() {
    return <Prompt content="hello world"/>
  }
}

expected

<Prompt content={content}  animation='right-show' />

props

<Prompt content={"hello world"} 
        width="200px" 
        title={"prompt"} 
        theme={"dark"} 
        align={"center"} 
        animation='right-show' 
        speed={15}
/>

Package Sidebar

Install

npm i react-prompt-viewer

Weekly Downloads

1

Version

0.0.7

License

MIT

Unpacked Size

65.1 kB

Total Files

15

Last publish

Collaborators

  • birariro