index.d.ts 452 B

12345678910111213
  1. import * as React from 'react';
  2. import type { PanelProps, ContentRef } from './Panel';
  3. export type ContentProps = {
  4. motionName: string;
  5. ariaId: string;
  6. onVisibleChanged: (visible: boolean) => void;
  7. } & PanelProps;
  8. declare const Content: React.ForwardRefExoticComponent<{
  9. motionName: string;
  10. ariaId: string;
  11. onVisibleChanged: (visible: boolean) => void;
  12. } & PanelProps & React.RefAttributes<ContentRef>>;
  13. export default Content;