category: packages
shared-types
This package contains shared types for the Instructure UI packages.
Be cautious when using any exported type from this package since they are intended for internal usage only and may change at any time!
Usage
import { BaseTheme } from '@instructure/shared-types'
8.10.2 (2021-10-01)
Note:
This version contains no new Features or Bug Fixes. But internally we have changed how we access the DOM to be in line with React best practices.
Warning: XYZ doesn't have "ref" property. ReactDOM.findDOMNode is deprecated in Strict mode, consider using refs instead. From InstUI v9, components must have the "ref" property for findDOMNode to work.
If you see warnings like the one above, please read this article on how to update your code here: Accessing the DOM