saleor-apps-redis_apl/apps/emails-and-messages/src/components/box-footer.tsx
Krzysztof Wolski cce2fbc3d5
📧 Improve layout and white-space (#546)
* Bump macaw version

* Make channels section expandable based on override setting

* Add margins to dangerous section, improve copy

* Add padding between section header and its description

* Limit width of provider selection boxes

* Use proper variant of the button

* More whitespace between description and box in the sections

* Remove text

* Revert "Make channels section expandable based on override setting"

This reverts commit e107c5e990b4110156043ed494fb0054bd936654.

* Add changelog

* Improve grammar

Co-authored-by: Adrian Pilarczyk <admin@peelar.dev>

---------

Co-authored-by: Adrian Pilarczyk <admin@peelar.dev>
2023-06-12 13:18:31 +02:00

20 lines
460 B
TypeScript

import { Box, BoxProps } from "@saleor/macaw-ui/next";
import { defaultPadding } from "./ui-defaults";
export const BoxFooter = (props: BoxProps) => {
return (
<Box
borderTopStyle="solid"
borderWidth={1}
borderColor="neutralDefault"
padding={defaultPadding}
display="flex"
gap={defaultPadding}
flexDirection="row"
justifyContent="flex-end"
{...props}
>
{props.children}
</Box>
);
};