Skip to content

Commit e036c91

Browse files
committed
docs: minor tweaks to existing documentation
1 parent 1a9ab60 commit e036c91

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/site/content/headroom.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
React Banner does not provide any built-in "sticky-ness" but can easily be integrated with things like [React Headroom][1] to achieve this behavior.
1+
React Banner does not provide any built-in "sticky-ness" but can easily be integrated with things like [React Headroom][1] to achieve this behavior. In fact, that's exactly what we're using to implement the behavior on this site -- try scrolling on any page and notice how the banner fixes and unfixes itself to and from the top of the page.
22

33

44
## Basic Setup
55

6-
Going forward with our simple example, you would simply `npm install react-headroom --save` and update the code as such:
6+
Going forward with our original example, you would `npm install react-headroom --save` and update the code as such:
77

88
```javascript
99
import React from 'react'
@@ -16,7 +16,7 @@ export default props => {
1616
return (
1717
<Headroom>
1818
<Banner
19-
logo="React Banner"
19+
logo="My Logo"
2020
url={ window.location.pathname }
2121
links={[
2222
{ "title": "Example Link", "url": "/example" },

src/site/content/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import 'react-banner/dist/style.css'
2626
export default props => {
2727
return (
2828
<Banner
29-
logo="React Banner"
29+
logo="My Logo"
3030
url={ window.location.pathname }
3131
links={[
3232
{ "title": "Example Link", "url": "/example" },

0 commit comments

Comments
 (0)