diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-10-13 16:17:00 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-10-13 16:17:00 +0200 |
commit | 05646996c0ef2f1a474bd547153b8ef87f89ac6e (patch) | |
tree | b76ed08d1ae1410334bb0f0c7131b1ab2d9abdfe /packages/gitbook-core/src/shapes/History.js | |
parent | c439cf851380da27ebaa0edce5fff99f8fb93d65 (diff) | |
download | gitbook-05646996c0ef2f1a474bd547153b8ef87f89ac6e.zip gitbook-05646996c0ef2f1a474bd547153b8ef87f89ac6e.tar.gz gitbook-05646996c0ef2f1a474bd547153b8ef87f89ac6e.tar.bz2 |
Rename "navigation" to "history" and add loading bar
Diffstat (limited to 'packages/gitbook-core/src/shapes/History.js')
-rw-r--r-- | packages/gitbook-core/src/shapes/History.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/gitbook-core/src/shapes/History.js b/packages/gitbook-core/src/shapes/History.js new file mode 100644 index 0000000..1b59ea0 --- /dev/null +++ b/packages/gitbook-core/src/shapes/History.js @@ -0,0 +1,11 @@ +const React = require('react'); +const locationShape = require('./Location'); +const { + bool, + shape +} = React.PropTypes; + +module.exports = shape({ + loading: bool, + location: locationShape +}); |