master-components-react-ts 2.4.22 → 2.5.0
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.
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DropdownPillProps } from './DropdownPill.types';
|
|
2
|
+
declare const DropdownPill: {
|
|
3
|
+
({ text, dropdownSlot, leftSlot, rightSlot, selected, selectedType, dropdownPillStyle, dropdownPillTextStyle, onClick, }: DropdownPillProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
propKeys: readonly ["text", "dropdownSlot", "leftSlot", "rightSlot", "selected", "selectedType", "dropdownPillStyle", "dropdownPillTextStyle", "onClick"];
|
|
5
|
+
displayName: string;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
export default DropdownPill;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface DropdownPillProps {
|
|
2
|
+
text: string;
|
|
3
|
+
dropdownSlot?: React.ReactNode;
|
|
4
|
+
leftSlot?: React.ReactNode;
|
|
5
|
+
rightSlot?: React.ReactNode;
|
|
6
|
+
selected?: boolean;
|
|
7
|
+
selectedType?: 'default' | 'alt';
|
|
8
|
+
dropdownPillStyle?: React.CSSProperties;
|
|
9
|
+
dropdownPillTextStyle?: React.CSSProperties;
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -26,3 +26,4 @@ export type { FilterOptionsTypes } from './components/FilterWithTags/FilterWithT
|
|
|
26
26
|
export { default as Table } from './components/Table/Table';
|
|
27
27
|
export type { ColumnType, SortType, RowActionType, ActionButtonType } from './components/Table/Table.types';
|
|
28
28
|
export { default as FileUploader } from './components/FileUploader/FileUploader';
|
|
29
|
+
export { default as DropdownPill } from './components/DropdownPill/DropdownPill';
|