We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 218a672 commit 82ea9eeCopy full SHA for 82ea9ee
src/React.purs
@@ -143,6 +143,7 @@ type Render props state eff =
143
-- | A specification of a component.
144
type UISpec props state eff =
145
{ render :: Render props state eff
146
+ , displayName :: String
147
, getInitialState
148
:: UIRef ->
149
Eff ( props :: ReactProps props
@@ -205,6 +206,7 @@ type UISpec props state eff =
205
206
spec :: forall props state eff. state -> Render props state eff -> UISpec props state eff
207
spec st render =
208
{ render: render
209
+ , displayName: ""
210
, getInitialState: \_ -> pure st
211
, componentWillMount: \_ -> return unit
212
, componentDidMount: \_ -> return unit
0 commit comments