mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Update website demo
This commit is contained in:
@@ -87,7 +87,16 @@ export default ({data}) => {
|
||||
</div>
|
||||
|
||||
<div css={{margin: '20px'}}>
|
||||
<Link css={linkStyle}>Try it out</Link>
|
||||
<a
|
||||
href="#"
|
||||
css={linkStyle}
|
||||
onClick={e => {
|
||||
e.preventDefault();
|
||||
document.querySelector('#tryhtml2canvas').click();
|
||||
}}
|
||||
>
|
||||
Try it out
|
||||
</a>
|
||||
<Link to={'/documentation'} css={linkStyle}>
|
||||
Documentation
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user