pleroma/app/soapbox/components/ui/form-actions/form-actions.tsx

17 lines
337 B
TypeScript
Raw Normal View History

2022-03-21 11:09:01 -07:00
import React from 'react';
import HStack from '../hstack/hstack';
2023-01-10 15:03:15 -08:00
interface IFormActions {
children: React.ReactNode
}
/** Container element to house form actions. */
2023-01-10 15:03:15 -08:00
const FormActions: React.FC<IFormActions> = ({ children }) => (
<HStack space={2} justifyContent='end'>
2022-03-21 11:09:01 -07:00
{children}
</HStack>
2022-03-21 11:09:01 -07:00
);
export default FormActions;