gestalt
Version:
A set of React UI components which enforce Pinterest's design language
13 lines (12 loc) • 471 B
TypeScript
import { ReactElement } from 'react';
type Props = {
gap: 3 | 6;
iconSize: 32 | 24;
message: string | ReactElement;
type: 'default' | 'error' | 'info' | 'recommendation' | 'success' | 'warning';
title?: string;
iconAccessibilityLabel?: string;
fullWidth?: boolean;
};
export default function HeaderSection({ iconSize, gap, title, message, type, iconAccessibilityLabel, fullWidth, }: Props): import("react/jsx-runtime").JSX.Element;
export {};