Skip to content

Commit

Permalink
Use barrel exports for InfoPanel
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan committed Jun 21, 2024
1 parent 4de9d31 commit 4587152
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
12 changes: 12 additions & 0 deletions apps/meteor/client/components/InfoPanel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,15 @@ export default Object.assign(InfoPanel, {
Section: InfoPanelSection,
ActionGroup: InfoPanelActionGroup,
});

export {
InfoPanel,
InfoPanelTitle,
InfoPanelLabel,
InfoPanelText,
InfoPanelAvatar,
InfoPanelField,
InfoPanelAction,
InfoPanelSection,
InfoPanelActionGroup,
};
18 changes: 10 additions & 8 deletions apps/meteor/client/components/UserInfo/UserInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ import { useTimeAgo } from '../../hooks/useTimeAgo';
import { useUserCustomFields } from '../../hooks/useUserCustomFields';
import { useUserDisplayName } from '../../hooks/useUserDisplayName';
import { ContextualbarScrollableContent } from '../Contextualbar';
import InfoPanel from '../InfoPanel';
import InfoPanelActionGroup from '../InfoPanel/InfoPanelActionGroup';
import InfoPanelAvatar from '../InfoPanel/InfoPanelAvatar';
import InfoPanelField from '../InfoPanel/InfoPanelField';
import InfoPanelLabel from '../InfoPanel/InfoPanelLabel';
import InfoPanelSection from '../InfoPanel/InfoPanelSection';
import InfoPanelText from '../InfoPanel/InfoPanelText';
import InfoPanelTitle from '../InfoPanel/InfoPanelTitle';
import {
InfoPanel,
InfoPanelActionGroup,
InfoPanelAvatar,
InfoPanelField,
InfoPanelLabel,
InfoPanelSection,
InfoPanelText,
InfoPanelTitle,
} from '../InfoPanel';
import MarkdownText from '../MarkdownText';
import UTCClock from '../UTCClock';
import { UserCardRoles } from '../UserCard';
Expand Down

0 comments on commit 4587152

Please sign in to comment.