mirror of
https://github.com/facebook/react.git
synced 2026-02-26 02:54:59 +00:00
20 lines
399 B
JavaScript
20 lines
399 B
JavaScript
// @flow
|
|
|
|
import React, { Fragment } from 'react';
|
|
import Contexts from './Contexts';
|
|
import CustomHooks from './CustomHooks';
|
|
import NestedProps from './NestedProps';
|
|
|
|
// TODO Add Immutable JS example
|
|
|
|
export default function InspectableElements() {
|
|
return (
|
|
<Fragment>
|
|
<h1>Inspectable elements</h1>
|
|
<NestedProps />
|
|
<Contexts />
|
|
<CustomHooks />
|
|
</Fragment>
|
|
);
|
|
}
|