27 lines
669 B
TypeScript
27 lines
669 B
TypeScript
'use client';
|
|
|
|
import { Header } from '@/ui/Header';
|
|
import { StatusIndicator } from '@/ui/StatusIndicator';
|
|
import { Text } from '@/ui/Text';
|
|
import { ButtonGroup } from '@/ui/ButtonGroup';
|
|
import { Activity } from 'lucide-react';
|
|
import React from 'react';
|
|
|
|
interface ActionsHeaderProps {
|
|
title: string;
|
|
}
|
|
|
|
export function ActionsHeader({ title }: ActionsHeaderProps) {
|
|
return (
|
|
<Header
|
|
actions={<StatusIndicator icon={Activity} variant="info" label="SYSTEM_READY" />}
|
|
>
|
|
<ButtonGroup gap={4}>
|
|
<Text as="h1" size="xl" weight="medium" variant="high" uppercase>
|
|
{title}
|
|
</Text>
|
|
</ButtonGroup>
|
|
</Header>
|
|
);
|
|
}
|