UNPKG

@capgeminiuk/dcx-react-library

Version:

[![CircleCI](https://circleci.com/gh/Capgemini/dcx-react-library.svg?style=svg)](https://circleci.com/gh/Capgemini/dcx-react-library)

26 lines (25 loc) 782 B
import React from 'react'; interface DescriptionListProps { /** * allow to specify a user custom content */ children?: JSX.Element[] | JSX.Element; /** * A CSS class for styling list */ className?: string; /** * allow to specify a user with Additional props/attributes */ descListProps?: React.HTMLProps<HTMLDListElement>; /** * A CSS class for applying same styling to all the Definition Term */ termClassName?: string; /** * A CSS class for applying same styling to all the Definition Detail */ detailClassName?: string; } export declare const DescriptionList: ({ termClassName, detailClassName, children, className, descListProps, }: DescriptionListProps) => React.JSX.Element; export {};