@state-less/leap-frontend
Version:
A collection of open source fullstack services powered by React Server
48 lines (47 loc) • 1.45 kB
TypeScript
import { BoxProps } from '@mui/material';
export type ForumPageProps = {
pageSize?: number;
startPage?: number;
forumKey: string;
basePath?: string;
clientId?: string;
ghSrc: {
rules: string;
qa: string;
};
ssr?: boolean;
};
export type OverViewPostProps = {
children: any[];
component?: string;
props: PostServerProps;
basePath: string;
ssr?: boolean;
};
export type PostServerProps = {
title?: string;
deleted?: boolean;
body?: string;
sticky?: boolean;
tags?: string[];
};
export declare const ForumPage: ({ pageSize: configuredPageSize, startPage, forumKey, basePath, clientId, ghSrc, ssr, }: ForumPageProps) => import("react/jsx-runtime").JSX.Element;
export type ForumRulesProps = {
basePath?: string;
clientId?: string;
ghSrc: {
rules: string;
qa: string;
};
};
export declare const ForumRules: ({ ghSrc, basePath, clientId }: ForumRulesProps) => import("react/jsx-runtime").JSX.Element;
export declare const StickyCard: (props: any) => import("react/jsx-runtime").JSX.Element;
export declare const PageSize: ({ pageSize, setPageSize }: {
pageSize: any;
setPageSize: any;
}) => import("react/jsx-runtime").JSX.Element;
export declare const NewPostButton: ({ basePath, sx, }: {
basePath?: string | undefined;
sx?: BoxProps['sx'];
}) => import("react/jsx-runtime").JSX.Element;
export default ForumPage;