Skip to content

Commit

Permalink
✏️ ocd edits
Browse files Browse the repository at this point in the history
  • Loading branch information
jagnani73 committed Jul 8, 2021
1 parent 11d5afc commit d449baa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default Example;
| Name | Description | Type/Values | Required | Default | Example |
| :------------: | :-----------------------------------------------------------------------------: | :--------------: | :------: | :-----------: | :----------------------------------------------------------: |
| Children | Component that should animate | JSX Element | `true` | N/A | N/A |
| ClassName | Extra classes for the marquee | string | `false` | N/A | N/A |
| Class Name | Extra classes for the marquee | string | `false` | N/A | N/A |
| Duration | Duration for a loop to run in `ms`<br/>**NOTE**: It changes with the `children` | number | `false` | 5000 | `duration={5000}` |
| Reverse | Direction of the marquee | boolean | `false` | false | `reverse={false}` |
| Background | Background color of the marquee<br/>Accepts any color format as string | string | `false` | "transparent" | `background="#fafafa"`<br/>`background="RGB(250, 250, 250)"` |
Expand Down
2 changes: 1 addition & 1 deletion example/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Example = () => {
<path
fill-rule="evenodd"
d="M11 10h1v3c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h3v1H1v10h10v-3zM6 2l2.25 2.25L5 7.5 6.5 9l3.25-3.25L12 8V2H6z"
></path>
/>
</svg>
</a>
</h1>
Expand Down

0 comments on commit d449baa

Please sign in to comment.