v0.27.0
github-actions
released this
13 Aug 00:31
·
101 commits
to master
since this release
0.27.0 (2021-08-13)
Features
Release notes
Update react-docgen-typescript
and add support for customising the parser config by specifying reactDocgenTypescriptConfig
in your playroom.config.js
.
module.exports = {
...,
reactDocgenTypescriptConfig: {
propFilter: (prop, component) => {
...
}
}
};
Full change list:
- Update
react-docgen-typescript
to^2.1.0
- Update
typescript
to^4.3.2
- Support customising the docgen parser config
- Default parser config now supports TS enums and literal unions
- Default prop filtering no longer omits
className
, onlychildren
. Although you can now customise the thepropFilter
as per example above - Enable
noErrorTruncation
on top of users tsconfig to ensure prop values are not truncated - Removed internal examples folder due to rot and maintenance overhead