@geneui/components
Version:
The Gene UI components library designed for BI tools
30 lines (29 loc) • 835 B
TypeScript
import { FC, HTMLAttributes, ReactNode } from 'react';
import './KeyValue.scss';
export interface IKeyValueProps extends HTMLAttributes<HTMLDivElement> {
/**
* Label for 'KeyValue'. <br/>
* Possible values: `ReactNode | string`
*/
label: ReactNode | string;
/**
* Value for 'KeyValue'.<br/>
* Possible values: `ReactNode | string`
*/
value?: ReactNode | string;
/**
* External/Additional className that can be added to 'KeyValue' component.
*/
className?: string;
/**
* The way how the KeyValue should be displayed.<br/>
* Possible values: `horizontal | vertical`
*/
appearance: 'horizontal' | 'vertical';
/**
* The property will show icon.
*/
icon?: string;
}
declare const KeyValue: FC<IKeyValueProps>;
export default KeyValue;