UNPKG

@spaced-out/ui-design-system

Version:
161 lines 3.54 kB
import * as React from 'react'; import type { Flow } from 'flow-to-typescript-codemod'; type ClassNames = Readonly<{ wrapper?: string; leftSlot?: string; rightSlot?: string; }>; export interface PageTitleProps { classNames?: ClassNames; children?: React.ReactNode; pageNameKey?: string; showBackButton?: boolean; onBack?: () => void; testId?: string; } export declare const PAGE_NAME_LIST: Readonly<{ dashboard: { title: string; iconName: string; iconType: string; }; engage: { title: string; iconName: string; iconType: string; }; journeys: { title: string; iconName: string; iconType: string; }; workflows: { title: string; iconName: string; iconType: string; }; trm: { title: string; iconName: string; iconType: string; }; analytics: { title: string; iconName: string; iconType: string; }; messaging: { title: string; iconName: string; iconType: string; }; chatbot: { title: string; iconName: string; iconType: string; }; referrals: { title: string; iconName: string; iconType: string; }; records: { title: string; iconName: string; iconType: string; }; bulkCleanup: { title: string; iconName: string; iconType: string; }; support: { title: string; iconName: string; iconType: string; }; audit: { title: string; iconName: string; iconType: string; }; timeline: { title: string; iconName: string; iconType: string; }; people: { title: string; iconName: string; iconType: string; }; jobs: { title: string; iconName: string; iconType: string; }; contacts: { title: string; iconName: string; iconType: string; }; meetings: { title: string; iconName: string; iconType: string; }; contacts3: { title: string; iconName: string; iconType: string; }; tracking: { title: string; iconName: string; iconType: string; }; earnings: { title: string; iconName: string; iconType: string; }; settings: { title: string; iconName: string; iconType: string; }; broadcast: { title: string; iconName: string; iconType: string; }; }>; export interface TabSlotProps { children?: React.ReactNode; className: string; testId?: string; } export declare const TabSlot: { ({ children, className, testId, ...props }: TabSlotProps): React.JSX.Element; displayName: string; }; export interface RightSlotProps { children?: React.ReactNode; className?: string; testId?: string; } export declare const RightSlot: { ({ children, testId, ...props }: RightSlotProps): React.JSX.Element; displayName: string; }; export interface PageNameProps { children?: React.ReactNode; testId?: string; } export declare const PageName: { ({ children, testId, ...props }: PageNameProps): React.JSX.Element; displayName: string; }; export declare const PageTitle: Flow.AbstractComponent<PageTitleProps, HTMLDivElement>; export {}; //# sourceMappingURL=PageTitle.d.ts.map