From 851bd0c56e4a904cf4f5ff9614c91de3651feb86 Mon Sep 17 00:00:00 2001 From: Levon Date: Thu, 1 Jun 2023 14:12:50 -0400 Subject: [PATCH] Update README.md Escape pipes in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4970fba..deec6a3 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ npm install --save react-virtualized-auto-sizer | Property | Type | Required? | Description | | :------------ | :------- | :-------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| children | Function | ✓ | Function responsible for rendering children. This function should implement the following signature: `({ height?: number | undefined, width?: number | undefined }) => PropTypes.element` | +| children | Function | ✓ | Function responsible for rendering children. This function should implement the following signature: `({ height?: number \| undefined, width?: number \| undefined }) => PropTypes.element` | | className | String | | Optional custom CSS class name to attach to root `AutoSizer` element. This is an advanced property and is not typically necessary. | | defaultHeight | Number | | Height passed to child for initial render; useful for server-side rendering. This value will be overridden with an accurate height after mounting. | | defaultWidth | Number | | Width passed to child for initial render; useful for server-side rendering. This value will be overridden with an accurate width after mounting. |