.. | ||
ErrorContainer.js | ||
ErrorContainer.stories.js | ||
ErrorContainer.test.js | ||
index.js | ||
README.md | ||
StyledErrorContainer.js |
ErrorContainer
Used to display full page error
Usage
import ErrorContainer from "@appserver/common/components/ErrorContainer";
<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 |