@medipha/feed 0.2.4 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/features/feed/sidebar/rail-section-head.d.ts +11 -0
- package/dist/index.cjs +8 -8
- package/dist/index.js +300 -268
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface RailSectionHeadProps {
|
|
3
|
+
title: string;
|
|
4
|
+
open: boolean;
|
|
5
|
+
onToggle: () => void;
|
|
6
|
+
/** Shown beside the title while collapsed, e.g. the active filter. */
|
|
7
|
+
summary?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
/** Title row of a left-rail card that folds the card's body away. */
|
|
10
|
+
export declare function RailSectionHead({ title, open, onToggle, summary }: RailSectionHeadProps): import('react/jsx-runtime').JSX.Element;
|
|
11
|
+
export {};
|