@primer/react-brand
Version:
Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.
19 lines (18 loc) • 670 B
TypeScript
import React, { type Ref } from 'react';
import { type Icon, type IconProps } from '@primer/octicons-react';
import { TextProps } from '../../Text';
import type { BaseProps } from '../../component-helpers';
export type ListItemProps = BaseProps<HTMLElement> & {
/**
* React.ReactNode and React.ReactNode[] are valid children.
*/
children?: React.ReactNode | React.ReactNode[];
/**
* The ref object to be attached to the list item.
*/
ref?: Ref<HTMLLIElement>;
leadingVisual?: Icon;
leadingVisualFill?: IconProps['fill'];
leadingVisualAriaLabel?: string;
} & Pick<TextProps, 'variant'>;
export declare const ListItem: any;