Skip to content

Certain interfaces and components are not exported, yet essential #15853

@Dalimil

Description

@Dalimil
  1. The only way to import CalloutContentBase is like this:
    import { CalloutContentBase } from 'office-ui-fabric-react/lib/components/Callout/CalloutContent.base';
  2. The only way to import PanelBase is like this:
    import { PanelBase } from 'office-ui-fabric-react/lib/components/Panel/Panel.base';
  3. Same for IButtonClassNames
  4. Same for IContextualMenuClassNames
  5. Same for IMenuItemClassNames
  6. Same for test utilities expectOne and expectMissing

All of these should properly export these, otherwise deep imports (officially unsupported) are unavoidable.
This blocks transition from office-online-fabric-react to fluentui/react

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions