UNPKG

ds-smart-ui

Version:

Smart UI v1.0.5 — A production-ready React component library by PT Praisindo Teknologi. Covers inputs, navigation, data display, feedback, and layout with a unified design system, semantic Typography tokens, and full Storybook documentation.

38 lines (37 loc) 1.18 kB
import { ButtonColorTypes, ButtonSizeTypes, ButtonVariantTypes } from '../../../types/button-types'; interface MenuItemType { label: string; onClick: () => void; permission: boolean; variantMenu?: ButtonVariantTypes; colorMenu?: ButtonColorTypes; startIconMenu?: React.ReactNode; endIconMenu?: React.ReactNode; divider?: boolean; id?: string; condition?: (rowData?: any) => boolean; } interface DropdownMenuProps { items?: MenuItemType[]; icon?: React.ReactNode; iconButtonProps?: Record<string, unknown>; size?: ButtonSizeTypes; variant?: ButtonVariantTypes; color?: ButtonColorTypes; label?: string; startIcon?: React.ReactNode; endIcon?: React.ReactNode; typeButton?: "textButton" | "iconButton"; anchorOrigin?: { vertical: "top" | "bottom" | "center"; horizontal: "left" | "right" | "center"; }; transformOrigin?: { vertical: "top" | "bottom" | "center"; horizontal: "left" | "right" | "center"; }; rowData?: any; id?: string; } declare const _default: import('react').NamedExoticComponent<DropdownMenuProps>; export default _default;