diff options
| author | Fuwn <[email protected]> | 2026-01-24 13:09:50 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-24 13:09:50 +0000 |
| commit | 396acf3bbbe00a192cb0ea0a9ccf91b1d8d2850b (patch) | |
| tree | b9df4ca6a70db45cfffbae6fdd7252e20fb8e93c /src/components/common/ActionForm.tsx | |
| download | umami-main.tar.xz umami-main.zip | |
Created from https://vercel.com/new
Diffstat (limited to 'src/components/common/ActionForm.tsx')
| -rw-r--r-- | src/components/common/ActionForm.tsx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/components/common/ActionForm.tsx b/src/components/common/ActionForm.tsx new file mode 100644 index 0000000..c6f44e8 --- /dev/null +++ b/src/components/common/ActionForm.tsx @@ -0,0 +1,15 @@ +import { Column, Row, Text } from '@umami/react-zen'; + +export function ActionForm({ label, description, children }) { + return ( + <Row alignItems="center" justifyContent="space-between" gap> + <Column gap="2"> + <Text weight="bold">{label}</Text> + <Text color="muted">{description}</Text> + </Column> + <Row alignItems="center" gap> + {children} + </Row> + </Row> + ); +} |