mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-04 02:21:02 +08:00
* update package.json
* codemod scoped-jsx
* refobject-defaults
* Fix some tests
* Lint
* Move import after license comment
* Fix test types for a wrapper of Button
I couldn't get it to work when destructuring rest props, e.g.:
const { size, children, ...buttonProps } = props;
so for now I just removed it altogether. I don't know why it works
in ForwardedAsWrapper, I suppose it has to do either with the css prop
passed to ButtonPrimary? Or maybe the forwardedAs prop accepted by
ForwardedAsWrapper?
* revert most ReactElement<any>
* Fix tests
* Remove extra useEffect from useTable
* Pass null to useRef when dealing with DOM elements
* Bring back just `ReactElement` without `<any>` where possible
* Remove defaultProps
* pnpm dedupe
* revert test and fix stories
* Import JSX in StatusInfo.tsx
---------
Co-authored-by: Grzegorz Zdunek <grzegorz.zdunek@goteleport.com>
Co-authored-by: Rafał Cieślak <rafal.cieslak@goteleport.com>
Co-authored-by: Lisa Kim <lisa@goteleport.com>