( <ul className="divide-y divide-gray-100 dark:divide-gray-800"> <li className="px-4 py-3 pb-4 cursor-pointer hover:bg-indigo-100 dark:hover:bg-indigo-1100"> <Link className="flex font-medium dark:text-indigo-400" onClick={onClickMenuItem} to={`/user/${auth.username}`} > <...
You may check out the related API usage on the sidebar. Example #1Source File: horizontalAlign.tsx From imove with MIT License 6 votes ALIGN_MAP: { [key: string]: AlignItem } = { left: { text: '左对齐', icon: <AlignLeftOutlined />, attrs: { refX: 0, refX2: 5, textAnchor: ...
In the example below, the sidebar should be on the left and themaincontent on the right when the direction is LTR. For RTL, it’s vice versa. When we use CSS grid, the flipping will be done automatically according to the page’s direction. ...
You may check out the related API usage on the sidebar. Example #1Source File: form-panel.tsx From XFlow with MIT License 5 votes FlowchartFormPanel: React.FC<IFlowchartFormPanelProps> = props => { const [collpased, setCollpased] = useState(false) const { controlMapService = default...
You may check out the related API usage on the sidebar. Example #1Source File: panel-collapse-btn.tsx From XFlow with MIT License 6 votes NodePanelCollapseBtn: React.FC<ICollapseBtnProps> = props => { const { prefixClz, onCollapseBtnClick, isCollapsed, collapseButtonStyle, style } = ...