File manager - Edit - /var/www/payraty/helpdesk/common/resources/client/ui/layout/dashboard-content.tsx
Back
import {cloneElement, ReactElement} from 'react'; import clsx from 'clsx'; interface DashboardContentProps { children: ReactElement<{className: string}>; isScrollable?: boolean; } export function DashboardContent({ children, isScrollable = true, }: DashboardContentProps) { return cloneElement(children, { className: clsx( children.props.className, isScrollable && 'overflow-y-auto stable-scrollbar', 'dashboard-grid-content' ), }); }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings