252f1c655e
* Renamed AuthAutoRouter * Moved RecoilScope * Refactored old WithTopBarContainer to make it less transclusive * Created new add opportunity button and refactored DropdownButton * Added tests * Deactivated new eslint rule * Refactored Table options with new dropdown * Started BoardDropdown * Fix lint * Refactor dropdown openstate * Fix according to PR * Fix tests --------- Co-authored-by: Charles Bochet <charles@twenty.com>
15 lines
473 B
TypeScript
15 lines
473 B
TypeScript
import { DropdownButton } from '@/ui/dropdown/components/DropdownButton';
|
|
|
|
import { BoardOptionsDropdownButton } from './BoardOptionsDropdownButton';
|
|
import { BoardOptionsDropdownContent } from './BoardOptionsDropdownContent';
|
|
|
|
export function BoardOptionsDropdown() {
|
|
return (
|
|
<DropdownButton
|
|
dropdownKey="options"
|
|
buttonComponents={<BoardOptionsDropdownButton />}
|
|
dropdownComponents={<BoardOptionsDropdownContent />}
|
|
></DropdownButton>
|
|
);
|
|
}
|