diff --git a/examples/app.tsx b/examples/app.tsx index e0adf0983..4c23a67c5 100644 --- a/examples/app.tsx +++ b/examples/app.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { PureComponent } from 'react'; +import { PureComponent, ReactElement } from 'react'; import { AppRoot, Button, @@ -11,8 +11,10 @@ import { DabIpsum, Footer, FormGroup, + Highlight, InputGroup, InputGroupAddon, + ModalRenderer, NavBar, Row, Section, @@ -20,6 +22,7 @@ import { SpacedGroup, SpeechBubble, } from '../src/ts'; +import ExampleModal from './modal'; import NavItems from './nav-items'; const X_CHAR = String.fromCharCode(215); @@ -27,6 +30,8 @@ const MENU_CHAR = String.fromCharCode(9776); interface AppState { sidebarOpen: boolean; + highlightActive: boolean; + modals: ReadonlyArray>; } class App extends PureComponent<{}, AppState> { @@ -35,6 +40,8 @@ class App extends PureComponent<{}, AppState> { this.state = { sidebarOpen: false, + highlightActive: false, + modals: [], }; } @@ -284,6 +291,31 @@ class App extends PureComponent<{}, AppState> { + + + + + + + + + + + + + +