Skip to content

Commit b0829a4

Browse files
committed
feat: update readme
1 parent d45697e commit b0829a4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,12 @@ ReactDOM.render(
199199
<th>() => document.body</th>
200200
<td>Where to render the DOM node of popup menu when the mode is horizontal or vertical</td>
201201
</tr>
202+
<tr>
203+
<td>itemRender</td>
204+
<td>Function(originNode:React.ReactNode, item:ItemType) => React.ReactNode</td>
205+
<th>() => originNode</th>
206+
<td>Customize the rendering of menu item</td>
207+
</tr>
202208
<tr>
203209
<td>builtinPlacements</td>
204210
<td>Object of alignConfigs for <a href="https://github.com/yiminghe/dom-align">dom-align</a></td>

0 commit comments

Comments
 (0)