@quanxi/ui
Version:
全悉组件库
21 lines (20 loc) • 660 B
TypeScript
import React, { CSSProperties } from "react";
import "./style.scss";
export interface DividerProps {
style?: CSSProperties;
direction?: "horizontal" | "vertical";
position?: "left" | "center" | "right";
lineStyle?: "solid" | "dotted" | "dashed" | "groove";
size?: "large" | "middle" | "small";
children?: React.ReactNode;
content?: React.ReactNode;
textSize?: "normal" | "large" | "small";
initialShow?: boolean;
collapsable?: boolean;
onShowChange?: (show: boolean) => void;
color?: string;
fontSize?: string;
className?: string;
}
declare const Divider: React.FC<DividerProps>;
export default Divider;