bigbuffet-rw/app/soapbox/components/ui/form-actions/form-actions.tsx
2023-01-10 17:03:15 -06: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;