bigbuffet-rw/src/components/ui/form-actions/form-actions.tsx
2023-09-18 16:08:54 -05:00

16 lines
337 B
TypeScript

import React from 'react';
import HStack from '../hstack/hstack';
interface IFormActions {
children: React.ReactNode
}
/** Container element to house form actions. */
const FormActions: React.FC<IFormActions> = ({ children }) => (
<HStack space={2} justifyContent='end'>
{children}
</HStack>
);
export default FormActions;