Styling and autosuggest fixes for #293
This commit is contained in:
parent
8bf9d9362a
commit
ad10a80a99
10 changed files with 128 additions and 133 deletions
|
@ -22,7 +22,13 @@ export default class Permalink extends React.PureComponent {
|
|||
}
|
||||
|
||||
render () {
|
||||
const { href, children, className, ...other } = this.props;
|
||||
const {
|
||||
children,
|
||||
className,
|
||||
href,
|
||||
to,
|
||||
...other
|
||||
} = this.props;
|
||||
|
||||
return (
|
||||
<a target='_blank' href={href} onClick={this.handleClick} {...other} className={`permalink${className ? ' ' + className : ''}`}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue