Updated reports components.
This commit is contained in:
15
src/components/common/ActionForm.tsx
Normal file
15
src/components/common/ActionForm.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Row, Column, Text } from '@umami/react-zen';
|
||||
|
||||
export function ActionForm({ label, description, children }) {
|
||||
return (
|
||||
<Row padding="6" border borderRadius="3" justifyContent="space-between" shadow="2">
|
||||
<Column>
|
||||
<Text weight="bold">{label}</Text>
|
||||
<Text>{description}</Text>
|
||||
</Column>
|
||||
<Row gap="3" alignItems="center">
|
||||
{children}
|
||||
</Row>
|
||||
</Row>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user