react-calendar-timeline
Version:
react-calendar-timeline
18 lines (17 loc) • 574 B
TypeScript
import React, { HTMLProps, ReactNode } from 'react';
import { LEFT_VARIANT, RIGHT_VARIANT } from './constants';
type GetRootProps = (props?: {
style?: React.CSSProperties;
}) => HTMLProps<HTMLDivElement>;
export type SidebarWrapperProps = {
children?: (props: {
getRootProps: GetRootProps;
}) => ReactNode;
variant?: typeof LEFT_VARIANT | typeof RIGHT_VARIANT;
headerData?: any;
};
declare const SidebarWrapper: {
(props: SidebarWrapperProps): import("react/jsx-runtime").JSX.Element;
secretKey: string;
};
export default SidebarWrapper;