speech-bubble

1.2.0 • Public • Published

speech-bubble Build Status

speech bubble, is a react component for bubble notice.

install

npm install speech-bubble

build

Speech-bubble use css-modules to resolve css in react. So you may use some plugin to deal with css-modules. If you use webpack, you just need use css-loader: css-loader?modules.

custom UI

Speech-bubble use react-css-modules, i have a PR for custom UI (before merge, use ideal-react/react-css-modules#dev source). This PR is make custom UI possible. We can use css-loader?modules&localIdentName=[local]-[hash:base64:5] in dev, then we can base [local] to set our own styles. You set your own styles, pass styles as props to component. More check example.

demo

See demo.

LICENSE

MIT.

Package Sidebar

Install

npm i speech-bubble

Weekly Downloads

1

Version

1.2.0

License

MIT

Last publish

Collaborators

  • ustccjw