alinea
Version:
Headless git-based CMS
8 lines (7 loc) • 392 B
TypeScript
import type { ComponentType, PropsWithChildren, ReactNode } from 'react';
export interface EntryNoticeProps {
icon?: ComponentType;
title: ReactNode;
variant: 'draft' | 'published' | 'archived' | 'transition' | 'untranslated';
}
export declare function EntryNotice({ icon, title, variant, children }: PropsWithChildren<EntryNoticeProps>): import("react/jsx-runtime").JSX.Element;