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