correcting enzyme props to prop (#513)
This commit is contained in:
parent
da30696346
commit
12feb8202a
|
@ -2,7 +2,7 @@
|
||||||
title: Enzyme
|
title: Enzyme
|
||||||
category: React
|
category: React
|
||||||
layout: 2017/sheet
|
layout: 2017/sheet
|
||||||
updated: 2017-10-12
|
updated: 2018-04-27
|
||||||
tags: [Featured]
|
tags: [Featured]
|
||||||
weight: -1
|
weight: -1
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -248,7 +248,7 @@ wrap.context() // get full context
|
||||||
|
|
||||||
```js
|
```js
|
||||||
wrap.state('key') // → any
|
wrap.state('key') // → any
|
||||||
wrap.props('key') // → any
|
wrap.prop('key') // → any
|
||||||
wrap.context('key') // → any
|
wrap.context('key') // → any
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue