├── .gitignore
├── example
├── .npmignore
├── index.html
├── TestComponent.tsx
├── tsconfig.json
├── LayoutApp
│ ├── Layout.tsx
│ ├── Feature1.tsx
│ └── Feature2.tsx
├── package.json
└── index.tsx
├── .npmignore
├── test
└── temp.test.tsx
├── src
├── index.tsx
├── RenderArea.tsx
├── Content.tsx
└── AreaContext.tsx
├── tsconfig.json
├── LICENSE
├── package.json
└── README.md
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .cache
3 | dist
4 |
--------------------------------------------------------------------------------
/example/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .cache
3 | dist
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 | example
3 | test
4 | .cache
5 |
6 |
7 |
--------------------------------------------------------------------------------
/test/temp.test.tsx:
--------------------------------------------------------------------------------
1 | import * as React from 'react';
2 | import * as ReactDOM from 'react-dom';
3 | import { AreaProvider } from '../src';
4 |
5 | describe('it', () => {
6 | it('renders without crashing', () => {
7 | const div = document.createElement('div');
8 | ReactDOM.render(
hello
34 |world
37 |world
55 |