-
Tom French authored
* style: enforce ordering of imports * style: sort imports in loot-core * style: sort imports in desktop-client * style: sort imports in loot-design * style: manual fixes
Tom French authored* style: enforce ordering of imports * style: sort imports in loot-core * style: sort imports in desktop-client * style: sort imports in loot-design * style: manual fixes
TutorialPoint.js 408 B
import React from 'react';
import PropTypes from 'prop-types';
class TutorialPoint extends React.Component {
static contextTypes = {
setTutorialNode: PropTypes.func
};
ref = el => {
if (this.context.setTutorialNode) {
this.context.setTutorialNode(this.props.name, el, this.props.expand);
}
};
render() {
return <div ref={this.ref} />;
}
}
export default TutorialPoint;