0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00

Add missing exports

This commit is contained in:
Thibaud Colas 2023-06-15 16:49:21 +01:00
parent 9798306f0e
commit 2b1f13a109

View File

@ -27,7 +27,7 @@ export const hideTooltipOnEsc = {
/**
* Prevents the tooltip from staying open when the breadcrumbs expand and push the toggle button in the layout
*/
const hideTooltipOnBreadcrumbExpandAndCollapse = {
export const hideTooltipOnBreadcrumbExpandAndCollapse = {
name: 'hideTooltipOnBreadcrumbAndCollapse',
fn({ hide }: Instance) {
function onBreadcrumbExpandAndCollapse() {
@ -62,7 +62,7 @@ const hideTooltipOnBreadcrumbExpandAndCollapse = {
/**
* If the toggle button has a toggle arrow, rotate it when open and closed
*/
const rotateToggleIcon = {
export const rotateToggleIcon = {
name: 'rotateToggleIcon',
fn(instance: Instance) {
const dropdownIcon = instance.reference.querySelector('.icon-arrow-down');