feat: ✨ add AppCard
This commit is contained in:
parent
d31d698de6
commit
bac7d970b8
1 changed files with 16 additions and 0 deletions
16
apps/taxes/src/modules/ui/app-card.tsx
Normal file
16
apps/taxes/src/modules/ui/app-card.tsx
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
import { PropsWithBox, Box } from "@saleor/macaw-ui/next";
|
||||||
|
|
||||||
|
export const AppCard = ({ children, ...p }: PropsWithBox<{}>) => {
|
||||||
|
return (
|
||||||
|
<Box
|
||||||
|
borderRadius={4}
|
||||||
|
borderWidth={1}
|
||||||
|
borderColor={"neutralPlain"}
|
||||||
|
borderStyle={"solid"}
|
||||||
|
padding={8}
|
||||||
|
{...p}
|
||||||
|
>
|
||||||
|
{children}
|
||||||
|
</Box>
|
||||||
|
);
|
||||||
|
};
|
Loading…
Reference in a new issue