npm.io
0.0.7 • Published 2 years ago

react-prompt-viewer

Licence
MIT
Version
0.0.7
Deps
4
Size
64 kB
Vulns
0
Weekly
0
Stars
1

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}
/>

Keywords