2019-07-05 09:35:34 +00:00
|
|
|
# ErrorContainer
|
|
|
|
|
|
|
|
Used to display full page error
|
|
|
|
|
2019-11-20 11:23:59 +00:00
|
|
|
### Usage
|
2019-07-05 09:35:34 +00:00
|
|
|
|
|
|
|
```js
|
2021-02-25 21:19:45 +00:00
|
|
|
import ErrorContainer from "@appserver/common/components/ErrorContainer";
|
2019-11-20 11:23:59 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
```jsx
|
2019-07-05 09:35:34 +00:00
|
|
|
<ErrorContainer>Some error has happened</ErrorContainer>
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Properties
|
|
|
|
|
2019-11-28 07:49:20 +00:00
|
|
|
| Props | Type | Required | Values | Default | Description |
|
|
|
|
| ----------- | :------------: | :------: | :----: | :-----: | ------------------------------------------------------ |
|
|
|
|
| `children` | `any` | - | - | - | If you need insert description of error or some action |
|
|
|
|
| `className` | `string` | - | - | - | Accepts class |
|
|
|
|
| `id` | `string` | - | - | - | Accepts id |
|
|
|
|
| `style` | `obj`, `array` | - | - | - | Accepts css style |
|