@salesforce/design-system-react
Version:
Salesforce Lightning Design System for React
29 lines (27 loc) • 673 B
TypeScript
declare module '@salesforce/design-system-react/components/page-header/private/title' {
import React from 'react';
type Props = {
/**
* Sets the vertical alignment on the title
*/
align?: 'top' | 'middle' | 'bottom';
/**
* Optional class name
*/
className?: any[] | Record<string, any> | string;
/**
* The title content
*/
content?: React.ReactNode;
/**
* Label node, for variants that require a label within the title
*/
label?: React.ReactNode;
/**
* Sets whether the title will truncate its content responsively.
*/
truncate?: boolean;
};
function Component(props: Props): JSX.Element;
export default Component;
}