@carrot-farm/mongsil-ui
Version:
react ui library
18 lines (17 loc) • 602 B
TypeScript
import * as React from 'react';
export interface DropdownViewProps {
visible?: boolean;
styled?: boolean;
/** 버튼 엘리먼트 */
button: React.ReactNode;
/** class */
className: string;
/** 드롭다운 박스의 포지션 */
position: 'top' | 'right' | 'left';
/** 내부 랜더링 */
children: React.ReactNode;
/** 라벨 클릭 */
onClick: (e: React.MouseEvent<HTMLLabelElement>) => void;
}
declare const DropdownView: React.ForwardRefExoticComponent<Partial<DropdownViewProps> & React.RefAttributes<HTMLDivElement>>;
export default DropdownView;