diff --git a/packages/strapi-plugin-setings-manager/admin/src/components/List/index.js b/packages/strapi-plugin-setings-manager/admin/src/components/List/index.js index e6082c49aa..d44096397e 100644 --- a/packages/strapi-plugin-setings-manager/admin/src/components/List/index.js +++ b/packages/strapi-plugin-setings-manager/admin/src/components/List/index.js @@ -17,10 +17,25 @@ import React from 'react'; import { map } from 'lodash'; +import { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap'; import Button from 'components/Button'; +// import 'bootstrap/dist/css/bootstrap.css'; + +// import Button from 'components/Button'; import styles from './styles.scss'; class List extends React.Component { // eslint-disable-line react/prefer-stateless-function + constructor(props) { + super(props); + this.state = { + modal: false, + }; + } + + toggle = () => { + this.setState({ modal: !this.state.modal }); + } + render() { const button = this.props.noListButtonPopUp ? '' : {' '} + + + + + ); } diff --git a/packages/strapi-plugin-setings-manager/admin/src/components/PopUpForm/index.js b/packages/strapi-plugin-setings-manager/admin/src/components/PopUpForm/index.js index 3fc0e59abb..6ea1b5f4dc 100644 --- a/packages/strapi-plugin-setings-manager/admin/src/components/PopUpForm/index.js +++ b/packages/strapi-plugin-setings-manager/admin/src/components/PopUpForm/index.js @@ -10,6 +10,12 @@ import React from 'react'; import styles from './styles.scss'; function PopUpForm() { + constructor(props) { + super(props); + this.state = { + modal: false, + }; + } return (
diff --git a/packages/strapi-plugin-setings-manager/package.json b/packages/strapi-plugin-setings-manager/package.json index f90cb9e1e5..f14dcc8311 100644 --- a/packages/strapi-plugin-setings-manager/package.json +++ b/packages/strapi-plugin-setings-manager/package.json @@ -24,7 +24,13 @@ "test": "echo Tests are not implemented.", "prepublish": "npm run build" }, - "dependencies": {}, + "dependencies": { + "bootstrap": "^4.0.0-alpha.6", + "react": "^15.6.1", + "react-dom": "^15.6.1", + "react-transition-group": "^1.2.0", + "reactstrap": "^4.8.0" + }, "devDependencies": { "strapi-helper-plugin": "3.0.0-alpha.3" }, @@ -45,4 +51,4 @@ "npm": ">= 3.0.0" }, "license": "MIT" -} \ No newline at end of file +}