mirror of
https://github.com/facebook/react.git
synced 2026-02-26 07:55:55 +00:00
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.
21 lines
475 B
JavaScript
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>
|
|
);
|
|
}
|