VEuPathDB / CoreUI

Core UI for VeuPathDB applications. Provides components, style definitions, and utilities to enable developers to rapidly assemble complex applications with consistent UI and UX across our portfolio of sites.
1 stars 0 forks source link

Ensure `<DraggablePanel>` component follows component export conventions. #157

Closed adnauseum closed 1 year ago

adnauseum commented 1 year ago

140 added a <DraggablePanel> component to Core UI, but it never exported it in a way that consumer's would expect.

Before:

import { DraggablePanel, DraggablePanelProps } from '@veupathdb/coreui/dist/components/containers/DraggablePanel/DraggablePanel';

After

import DraggablePanel, {
  DraggablePanelCoordinatePair,
  DraggablePanelProps,
  HeightAndWidthInPixels,
} from '@veupathdb/coreui/dist/components/containers/DraggablePanel;

☝️ This matches other components in CoreUI such as the <ExpandablePanel>