web: Components: Fixed ErrorContainer component readme
This commit is contained in:
parent
d564fbb21b
commit
8f6fbcf935
@ -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 |
|
||||
|
Loading…
Reference in New Issue
Block a user