import { observer } from 'mobx-react-lite';
import React from 'react';
import { Box, Divider, TextButton } from '@wix/design-system';
import { Add as AddIcon } from '@wix/wix-ui-icons-common';
function _PickerStandaloneLayoutFooter(props) {
    const { state, createNewAction } = props;
    return (React.createElement(React.Fragment, null,
        React.createElement(Divider, null),
        React.createElement(Box, { paddingLeft: "SP4", paddingRight: "SP4", paddingTop: "SP3", paddingBottom: "SP3", verticalAlign: "middle" }, createNewAction && (React.createElement(TextButton, { key: createNewAction.key, dataHook: "create-new-item-cta", ...createNewAction.props, prefixIcon: React.createElement(AddIcon, null), suffixIcon: undefined, onClick: (e) => {
                state.onCreateNewClick();
                const buttonProps = createNewAction.props;
                buttonProps?.onClick?.(e);
            } })))));
}
export const PickerStandaloneLayoutFooter = observer(_PickerStandaloneLayoutFooter);
//# sourceMappingURL=PickerStandaloneLayoutFooter.js.map