Browse Source

demo中去掉propTypes

pull/438/head
ioldfish 9 years ago
parent
commit
a63360734c
  1. 1
      components/tree/demo/dynamic.md

1
components/tree/demo/dynamic.md

@ -22,7 +22,6 @@ const generateTreeNodes = () => {
} }
const TreeDemo = React.createClass({ const TreeDemo = React.createClass({
propTypes: {},
timeout(duration = 0) { timeout(duration = 0) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
setTimeout(resolve.bind(this), duration); setTimeout(resolve.bind(this), duration);

Loading…
Cancel
Save