@atlaskit/form
Version:
A form allows people to input information.
26 lines (25 loc) • 1.03 kB
JavaScript
/* form-footer.tsx generated by @compiled/babel-plugin v3.0.4 */
import "./form-footer.compiled.css";
import * as React from 'react';
import { ax, ix } from "@compiled/react/runtime";
import { fg } from '@atlaskit/platform-feature-flags/fg';
const formFooterWrapperStyles = null;
const semanticFormFooterWrapperStyles = null;
const justifyContentStyles = null;
/**
* __Form footer__
*
* A form footer has the content to be shown at the bottom of the form. This is usually the submit button.
*
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/form/docs/layout)
* - [Code](https://atlaskit.atlassian.com/packages/design-system/form/docs/layout)
* - [Usage](https://atlaskit.atlassian.com/packages/design-system/form/docs/layout)
*/
export function FormFooter({
align = 'end',
children
}) {
return /*#__PURE__*/React.createElement("footer", {
className: ax(["_1e0c1txw _1bahesu3 _1pfh1ejb", align === 'start' && "_1bah1y6m", fg('platform-semantic-spacing') && "_1pfhrdp2"])
}, children);
}