UNPKG

@eccenca/gui-elements

Version:

GUI elements based on other libraries, usable in React application, written in Typescript.

22 lines (21 loc) 778 B
import React from "react"; export interface PropertyValuePairProps extends React.HTMLAttributes<HTMLDivElement> { /** * Add a bit white space to the bottom of the element. */ hasSpacing?: boolean; /** * Add a horizontal rule to the bottom of the element. */ hasDivider?: boolean; /** * Forward the `nowrap` option to it `PropertyName` and `PropertyValue` children. */ nowrap?: boolean; /** * Only use one single column and put property label and value below each other. */ singleColumn?: boolean; } export declare const PropertyValuePair: ({ children, className, nowrap, hasSpacing, hasDivider, singleColumn, ...otherProps }: PropertyValuePairProps) => React.JSX.Element; export default PropertyValuePair;