diff --git a/docs/src/app/components/pages/components/app-bar.jsx b/docs/src/app/components/pages/components/app-bar.jsx index da4bdc7219fda5..4c235915f77259 100644 --- a/docs/src/app/components/pages/components/app-bar.jsx +++ b/docs/src/app/components/pages/components/app-bar.jsx @@ -11,6 +11,12 @@ const IconMenu = require('menus/icon-menu'); const MenuItem = require('menus/menu-item'); const MoreVertIcon = require('svg-icons/navigation/more-vert'); +const styles = { + title: { + cursor: 'pointer', + }, +}; + export default class AppBarPage extends React.Component { constructor(props) { @@ -136,7 +142,7 @@ export default class AppBarPage extends React.Component { iconClassNameRight="muidocs-icon-navigation-expand-more" />
Title} iconElementLeft={} iconElementRight={} />
@@ -157,4 +163,8 @@ export default class AppBarPage extends React.Component { ); } + _onTouchTap() { + alert('onTouchTap triggered on the title component'); + } + } diff --git a/docs/src/app/components/raw-code/app-bar-code.txt b/docs/src/app/components/raw-code/app-bar-code.txt index 477eae19f02610..450e423bed4713 100644 --- a/docs/src/app/components/raw-code/app-bar-code.txt +++ b/docs/src/app/components/raw-code/app-bar-code.txt @@ -3,7 +3,7 @@ iconClassNameRight="muidocs-icon-navigation-expand-more" /> Title} iconElementLeft={} iconElementRight={} /> diff --git a/src/app-bar.jsx b/src/app-bar.jsx index 8b5f523771ddda..f98cbbbc2b05a0 100644 --- a/src/app-bar.jsx +++ b/src/app-bar.jsx @@ -164,7 +164,7 @@ const AppBar = React.createClass({ // If not, just use it as a node. titleElement = typeof title === 'string' || title instanceof String ?

{title}

: -
{title}
; +
{title}
; } if (showMenuIconButton) {