2022-03-21 11:09:01 -07:00
|
|
|
import React from 'react';
|
|
|
|
|
2022-11-25 09:04:11 -08:00
|
|
|
import HStack from '../hstack/hstack';
|
|
|
|
|
2022-04-30 21:39:58 -07:00
|
|
|
/** Container element to house form actions. */
|
2022-03-21 11:09:01 -07:00
|
|
|
const FormActions: React.FC = ({ children }) => (
|
2022-11-25 09:04:11 -08:00
|
|
|
<HStack space={2} justifyContent='end'>
|
2022-03-21 11:09:01 -07:00
|
|
|
{children}
|
2022-11-25 09:04:11 -08:00
|
|
|
</HStack>
|
2022-03-21 11:09:01 -07:00
|
|
|
);
|
|
|
|
|
|
|
|
export default FormActions;
|