web: Components: Fixed ErrorContainer component readme

This commit is contained in:
Ilya Oleshko 2019-11-20 14:23:59 +03:00
parent d564fbb21b
commit 8f6fbcf935

View File

@ -1,21 +1,19 @@
# ErrorContainer
## Usage
```js
import { ErrorContainer } from 'asc-web-components';
```
#### Description
Used to display full page error
#### Usage
### Usage
```js
import { ErrorContainer } from "asc-web-components";
```
```jsx
<ErrorContainer>Some error has happened</ErrorContainer>
```
#### Properties
Only children props is available
| Props | Type | Required | Values | Default | Description |
| ---------- | :---: | :------: | :----: | :-----: | ------------------------------------------------------ |
| `children` | `any` | - | - | - | If you need insert description of error or some action |