DocSpace-client/packages/asc-web-common/components/ErrorContainer/README.md
2021-02-26 00:19:45 +03:00

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 |