@redocly/portal-legacy-ui
Version:
Library of legacy portal UI components
17 lines (16 loc) • 448 B
TypeScript
import type { PropsWithChildren, CSSProperties } from 'react';
export type TextAlign = 'left' | 'right' | 'center' | 'justify';
export type TileProps = PropsWithChildren<{
header?: string;
icon?: string;
to?: string;
target?: string;
headerAlign?: TextAlign;
textAlign?: TextAlign;
bgColor?: string;
bgImage?: string;
color?: string;
className?: string;
style?: CSSProperties;
maxWidth?: string;
}>;