The examples in PubSweet docs should be copy-pasteable
You should be able to copy and past the example of a component's use, and have it 'just work'
For example, the Link component includes this example:
<Link to={'www.google.com'}>Click here</Link>
It should be:
import { Link } from '@pubsweet/ui'
<Link to={'www.google.com'}>Click here</Link>