UNPKG
box-ui-elements-mlh
Version:
latest (2.0.0)
2.0.0
1.0.0
Box UI Elements
github.com/MaximeLhermite/box-ui-elements
MaximeLhermite/box-ui-elements
box-ui-elements-mlh
/
es
/
features
/
message-center
/
components
/
error-state
/
ErrorState.js.flow
14 lines
(10 loc)
•
255 B
Flow
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// @flow
import
*
as
React
from
'react'
;
import
'./ErrorState.scss'
; type
Props
= {|
children
:
React
.
Node
, |};
function
ErrorState
(
{ children }: Props
) {
return
<
section
className
=
"ErrorState"
>
{children}
</
section
>
; }
export
default
ErrorState
;