and-design-components-library
Version:
Library of reusable React components based on AND Digital design system.
21 lines (20 loc) • 429 B
TypeScript
export interface PageHeaderProps {
/**
* Title text
*/
title: string;
/**
* Subtitle text
*/
subtitle?: string;
/**
* Accepts a subset of AND Digital brand colors.
* @default 'colors.charcoal'
*/
titleColor?: string;
/**
* Accepts a subset of AND Digital brand colors.
* @default 'colors.charcoal'
*/
subtitleColor?: string;
}