Skip to content

Commit 7a46f11

Browse files
authored
Update README.md
The component is not exported as default, so when importing, you need to use curly braces
1 parent 6ee8df4 commit 7a46f11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Following plain React Bootstrap component
3131
```
3232
becomes
3333
```js
34+
import { LinkContainer } from 'react-router-bootstrap'
3435
<LinkContainer to="/foo/bar">
3536
<Button>Foo</Button>
3637
</LinkContainer>

0 commit comments

Comments
 (0)