boundless-dialog
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "boundless-dialog", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A non-blocking, focus-stealing container.", | ||
@@ -25,6 +25,6 @@ "main": "build/index.js", | ||
}, | ||
"homepage": "http://boundless.js.org/#/Dialog", | ||
"homepage": "http://boundless.js.org/Dialog", | ||
"dependencies": { | ||
"boundless-portal": "^1.0.2", | ||
"boundless-utils-omit-keys": "^1.0.2", | ||
"boundless-portal": "^1.0.3", | ||
"boundless-utils-omit-keys": "^1.0.3", | ||
"classnames": "^2.1.5" | ||
@@ -31,0 +31,0 @@ }, |
<!--- | ||
THIS IS AN AUTOGENERATED FILE. EDIT INDEX.JS INSTEAD. | ||
THIS IS AN AUTOGENERATED FILE. EDIT PACKAGES/BOUNDLESS-DIALOG/INDEX.JS INSTEAD. | ||
--> | ||
@@ -13,8 +13,16 @@ # Dialog | ||
## Example Usage | ||
## Installation | ||
```bash | ||
npm i boundless-dialog --save | ||
``` | ||
Then use it like: | ||
```jsx | ||
import React from 'react'; | ||
import {findDOMNode} from 'react-dom'; | ||
import Button from '../../boundless-button/index'; | ||
import Dialog from '../index'; | ||
import Button from 'boundless-button'; | ||
import Dialog from 'boundless-dialog'; | ||
@@ -75,9 +83,23 @@ export default class DialogDemo extends React.PureComponent { | ||
} | ||
``` | ||
Dialog can also just be directly used from the main [Boundless library](https://www.npmjs.com/package/boundless). This is recommended when you're getting started to avoid maintaining the package versions of several components: | ||
```bash | ||
npm i boundless --save | ||
``` | ||
the ES6 `import` statement then becomes like: | ||
```js | ||
import { Dialog } from 'boundless'; | ||
``` | ||
## Props | ||
> Note: only top-level props are in the README, for the full list check out the [website](http://boundless.js.org/#/Dialog). | ||
> Note: only top-level props are in the README, for the full list check out the [website](http://boundless.js.org/Dialog). | ||
@@ -84,0 +106,0 @@ ### Required Props |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87380
211
Updatedboundless-portal@^1.0.3