2424
2525
2626import type { ComponentStyle , WithStyleProps } from '@instructure/emotion'
27- import type { PropValidators , ThemeVariables } from '@instructure/shared-types'
27+ import type { ThemeVariables } from '@instructure/shared-types'
2828import { DocData } from '../App/props'
2929import { Theme } from '@instructure/ui-themes'
3030
@@ -44,18 +44,6 @@ type AllowedPropKeys = Readonly<Array<PropKeys>>
4444
4545type DocumentProps = DocumentOwnProps & WithStyleProps < null , DocumentStyle >
4646
47- // TODO this does not match the TS type either fix or remove
48- const DocPropType = PropTypes . shape ( {
49- props : PropTypes . object ,
50- id : PropTypes . string . isRequired ,
51- description : PropTypes . string ,
52- undocumented : PropTypes . bool ,
53- srcPath : PropTypes . string ,
54- srcUrl : PropTypes . string ,
55- requirePath : PropTypes . string ,
56- packageName : PropTypes . string ,
57- children : PropTypes . array
58- } )
5947type DocumentStyle = ComponentStyle < 'githubCornerOctoArm' | 'githubCorner' >
6048
6149type DocumentState = {
@@ -72,5 +60,5 @@ const allowedProps: AllowedPropKeys = [
7260 'themeVariables'
7361]
7462
75- export { propTypes , allowedProps , DocPropType }
63+ export { allowedProps }
7664export type { DocumentProps , DocumentStyle , DocumentState , DocDataType }
0 commit comments