Stateless components such as export default props => 'text' are not included in the output when running styleguidist build. I've narrowed it down and found that if the UglifyJsPlugin is removed then it works correctly. I guess Uglify may be mangling something with the component somewhere
Stateless components work if you define them like this:
export default function Button() {}
Most helpful comment
Stateless components work if you define them like this: