MDK Logo

AlertsTableTitle

Title strip for an alerts table with the section heading and an optional count badge.

Title strip for an alerts table with the section heading and an optional count badge.

import { AlertsTableTitle } from "@tetherto/mdk-react-devkit";
PropStatusTypeDefaultDescription
titleRequiredReact.ReactNode
subtitleOptionalReact.ReactNode
classNameOptionalstring | undefined

Usage

Title strip for an alerts table section with a heading and an optional count badge.

Example

import { AlertsTableTitle } from '@tetherto/mdk-react-devkit'export const AlertsTableTitleExample = () => (  <div className="mdk-example-row">    <AlertsTableTitle title="Active Alerts" subtitle="12 total" />    <AlertsTableTitle title="History" />  </div>)