Skip to content

Commit 17a608c

Browse files
authored
Update README.md
1 parent 2409470 commit 17a608c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,15 @@ By default, all spaces hide content that overflows the space. To make a particul
171171

172172
## Getting size information for a space
173173

174-
Using the **SpaceInfo** component, you can get size information on the containing space.
174+
Using the **Info** component, you can get size information on the containing space.
175175

176176
```typescript
177177
const App = () => (
178178
<Space.Fixed height={400}>
179179
<Space.Fill>
180-
<Space.SpaceInfo>
180+
<Space.Info>
181181
{info => <span>{info.width}px x {info.height}px</span>}
182-
</Space.SpaceInfo>
182+
</Space.Info>
183183
</Space.Fill>
184184
</Space.Fixed>
185185
)

0 commit comments

Comments
 (0)