Files
react/shells/dev/app/InspectableElements/InspectableElements.js
Brian Vaughn 33deb79ce4 Added simple hooks support (same as in legacy DevTools for now)
I had to add a couple of  comments because Flow was being a mysterious little shit and I got tired of trying to work around it.
2019-02-05 09:23:14 +00:00

21 lines
475 B
JavaScript

// @flow
import React, { Fragment } from 'react';
import Contexts from './Contexts';
import CustomHooks from './CustomHooks';
import NestedProps from './NestedProps';
import styles from './InspectableElements.css';
// TODO Add Immutable JS example
export default function InspectableElements() {
return (
<Fragment>
<div className={styles.Header}>Inspectable elements</div>
<NestedProps />
<Contexts />
<CustomHooks />
</Fragment>
);
}