Skip to content

Commit

Permalink
adds htmlAttribute prop support
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsfletch committed Nov 18, 2019
1 parent 62f7066 commit 051b117
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
5 changes: 5 additions & 0 deletions demo/Jumplist.demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ const JumplistDemo = () => {
vScrollOffset={-100}
hScrollOffset={-100}
htmlElement="div"
className="demo-class"
htmlAttributes={{
className: 'demo-html-attribute-class',
'aria-label': 'demo aria label',
}}
list={[
{
clickableNode: formatClickableNode('Jump to whitesmoke'),
Expand Down
Loading

0 comments on commit 051b117

Please sign in to comment.