@primer/react
Version:
An implementation of GitHub's Primer Design System using React
20 lines (19 loc) • 546 B
TypeScript
import React from "react";
//#region src/ActionList/Description.d.ts
type ActionListDescriptionProps = {
/**
* Secondary text style variations.
*
* - `"inline"` - Secondary text is positioned beside primary text.
* - `"block"` - Secondary text is positioned below primary text.
*/
variant?: 'inline' | 'block';
className?: string;
style?: React.CSSProperties;
/**
* Whether the inline description should truncate the text on overflow.
*/
truncate?: boolean;
};
//#endregion
export { ActionListDescriptionProps };