From ce91f033a88b066620d3eb2d8d7062c89fb528a0 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Thu, 12 Nov 2015 11:19:36 +0100 Subject: [PATCH] [AppBar] Improve PropType for zDepth --- src/app-bar.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app-bar.jsx b/src/app-bar.jsx index 1457eed4c9c677..41a95184a5dfad 100644 --- a/src/app-bar.jsx +++ b/src/app-bar.jsx @@ -6,7 +6,7 @@ const NavigationMenu = require('./svg-icons/navigation/menu'); const DefaultRawTheme = require('./styles/raw-themes/light-raw-theme'); const ThemeManager = require('./styles/theme-manager'); const Paper = require('./paper'); - +const PropTypes = require('./utils/prop-types'); const AppBar = React.createClass({ @@ -38,7 +38,7 @@ const AppBar = React.createClass({ iconElementRight: React.PropTypes.element, iconStyleRight: React.PropTypes.object, title: React.PropTypes.node, - zDepth: React.PropTypes.number, + zDepth: PropTypes.zDepth, }, getInitialState () {