diff --git a/examples/App.js b/examples/App.js
index 5564e2741..d57496da9 100644
--- a/examples/App.js
+++ b/examples/App.js
@@ -31,39 +31,6 @@ function EventAgenda(props) {
}
-let rand = ()=> (Math.floor(Math.random() * 20) - 10);
-
-const modalStyle = {
- position: 'fixed',
- zIndex: 1040,
- top: 0, bottom: 0, left: 0, right: 0
-};
-
-const backdropStyle = {
- ...modalStyle,
- zIndex: 'auto',
- backgroundColor: '#000',
- opacity: 0.5
-};
-
-const dialogStyle = function() {
- // we use some psuedo random coords so modals
- // don't sit right on top of each other.
- let top = 50 + rand();
- let left = 50 + rand();
-
- return {
- position: 'absolute',
- width: 400,
- top: top + '%', left: left + '%',
- transform: `translate(-${top}%, -${left}%)`,
- border: '1px solid #e5e5e5',
- backgroundColor: 'white',
- boxShadow: '0 5px 15px rgba(0,0,0,.5)',
- padding: 20
- };
-};
-
const Example = React.createClass({
getInitialState(){
return { showModal: false };
@@ -88,18 +55,6 @@ const Example = React.createClass({
}}
/>
- Duis mollis, est non commodo luctus, nisi erat porttitor ligula.Text in a modal
-