InterfaceDropDownProps
Interface: InterfaceDropDownProps
Defined in: src/types/shared-components/DropDownButton/interface.ts:30
Interface for dropdown component props.
Styling props:
- Base (component/default layout):
parentContainerStyleandbtnStyleare applied first (e.g. from SortingButton or Navbar defaults). - Consumer overrides:
containerClassNameandtoggleClassNameare merged with the base so parent screens can add their own CSS module classes without replacing defaults.
Extended by
Properties
btnStyle?
optionalbtnStyle:string
Defined in: src/types/shared-components/DropDownButton/interface.ts:41
Base class(es) for the toggle button. Applied first; often set by the wrapping component. Use this for default button layout/theme.
containerClassName?
optionalcontainerClassName:string
Defined in: src/types/shared-components/DropDownButton/interface.ts:53
Consumer override: extra class name(s) for the dropdown container, merged with parentContainerStyle. Use from parent screens (e.g. CSS module classes) to style the container without coupling to test IDs.
menuClassName?
optionalmenuClassName:string
Defined in: src/types/shared-components/DropDownButton/interface.ts:46
Custom class name for the dropdown menu.
parentContainerStyle?
optionalparentContainerStyle:string
Defined in: src/types/shared-components/DropDownButton/interface.ts:35
Base class(es) for the dropdown container. Applied first; often set by the wrapping component (e.g. SortingButton, Navbar). Use this for default layout/theme.
toggleClassName?
optionaltoggleClassName:string
Defined in: src/types/shared-components/DropDownButton/interface.ts:60
Consumer override: extra class name(s) for the toggle button, merged with btnStyle. Use from parent screens (e.g. CSS module classes) to style the toggle without coupling to test IDs.