@shopify/polaris
Version:
Shopify’s admin product component library
16 lines (15 loc) • 456 B
TypeScript
import React from 'react';
interface Item {
/** Title of the item */
term: React.ReactNode;
/** Item content */
description: React.ReactNode;
}
export interface DescriptionListProps {
/** Collection of items for list */
items: Item[];
/** Determines the spacing between list items */
spacing?: 'tight' | 'loose';
}
export declare function DescriptionList({ items, spacing, }: DescriptionListProps): JSX.Element;
export {};