@playbooks/ui
Version:
An interface library for Playbooks.
50 lines (46 loc) • 1.86 kB
TypeScript
// Generated by dts-bundle-generator v9.5.1
import { TailwindProps } from '@ehubbell/html';
export type HtmlProps = TailwindProps & {
id?: string;
ref?: any;
name?: string;
size?: string;
html?: any;
tabIndex?: any;
onClick?: (v?: any) => any;
onMouseEnter?: (v?: any) => any;
onMouseLeave?: (v?: any) => any;
tailwind?: TailwindProps & any;
className?: string;
style?: any;
children?: any;
};
export type BtnProps = HtmlProps & {
type?: "button" | "submit" | "reset";
alt?: string;
size?: string;
active?: boolean;
prevIcon?: any;
prevImg?: any;
icon?: any;
img?: any;
nextIcon?: any;
nextImg?: any;
span?: any;
disabled?: boolean;
taskRunning?: boolean;
};
export type PaginationProps = HtmlProps;
export type PaginationBtnProps = BtnProps & {
page: number;
active?: boolean;
disabled?: boolean;
onClick: (v: number) => any;
};
export declare const Pagination: ({ name, tailwind, className, children, ...props }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
export declare const PaginationFirst: ({ name, alt, disabled, tailwind, className, onClick, ...props }: PaginationBtnProps) => import("react/jsx-runtime").JSX.Element;
export declare const PaginationPrev: ({ name, alt, disabled, tailwind, className, onClick, ...props }: PaginationBtnProps) => import("react/jsx-runtime").JSX.Element;
export declare const PaginationBtn: ({ name, alt, active, tailwind, className, onClick, children, ...props }: PaginationBtnProps) => import("react/jsx-runtime").JSX.Element;
export declare const PaginationNext: ({ name, alt, disabled, tailwind, className, onClick, ...props }: PaginationBtnProps) => import("react/jsx-runtime").JSX.Element;
export declare const PaginationLast: ({ name, alt, disabled, tailwind, className, onClick, ...props }: PaginationBtnProps) => import("react/jsx-runtime").JSX.Element;
export {};