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

Trying to use array syntax throws `TypeError: this.classNames is undefined`
when rendering.