Skip to content

Commit

Permalink
docs(link): fix syntax errors on LinkWrapper example
Browse files Browse the repository at this point in the history
  • Loading branch information
lzcabrera committed Aug 21, 2017
1 parent 597ba65 commit ee368bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Link/Link.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ It is recommended to set up a component wrapper in your project to avoid repetit
```jsx
import React from 'react'
import { Link as ReactRouterLink } from 'react-router'
import { Link as TdsLink } from '@telusdigital/tds')
import { Link as TdsLink } from '@telusdigital/tds'

const Link = ({ children, ...rest }) => (
<TdsLink
{..rest}
{...rest}
reactRouterLinkComponent={rest.to ? ReactRouterLink : undefined}>
{children}
</TdsLink>
Expand Down

0 comments on commit ee368bf

Please sign in to comment.