23 lines
953 B
Markdown
23 lines
953 B
Markdown
# ErrorContainer
|
|
|
|
Used to display full page error
|
|
|
|
### Usage
|
|
|
|
```js
|
|
import ErrorContainer from "@appserver/common/components/ErrorContainer";
|
|
```
|
|
|
|
```jsx
|
|
<ErrorContainer>Some error has happened</ErrorContainer>
|
|
```
|
|
|
|
#### Properties
|
|
|
|
| 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 |
|