@nexusui/components
Version:
These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.
30 lines (29 loc) • 770 B
TypeScript
import { FC, ReactNode } from 'react';
import { StackProps } from '@mui/material/Stack';
export interface IGridHeader extends Omit<StackProps, 'title'> {
/**
* Main icon to render before the title.
*/
icon?: ReactNode;
/**
* The primary text displayed in the header.
*/
title: ReactNode;
/**
* The secondary text displayed in the header.
*/
description?: ReactNode;
/**
* Elements to render next to the title.
*/
titleActions?: ReactNode;
/**
* The primary action / button displayed opposite the title.
*/
primaryAction?: ReactNode;
/**
* Search component to render below the title.
*/
search?: ReactNode;
}
export declare const GridHeader: FC<IGridHeader>;