jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
24 lines (23 loc) • 780 B
TypeScript
/**
* @file index.tsx
*
* @fileoverview A wrapper to include multiple form actions inside.
*/
import React from 'react';
export declare const StyledFormActionsWrapper: import("styled-components").StyledComponent<"div", any, FormActionsProps, never>;
export interface FormActionsProps {
/**
* The form elements to be added in the FormActions.
*/
children: React.ReactNode;
/**
* If form actions should align left or right;
*/
orientation?: 'left' | 'right';
}
/**
* The form actions component allows grouping multiple form actions.
* Usefull to group together a submit and cancel button on a form for example.
*/
export declare const FormActions: ({ children, orientation }: FormActionsProps) => JSX.Element;
export default FormActions;