[DOC] Fix invalid syntax for classNames property in link-to helper

Trying to use array syntax throws `TypeError: this.classNames is undefined`
when rendering.
Merge pull request #4055 from praxxis/fix_link-to_classnames

[DOC] Fix invalid syntax for classNames property in link-to helper