lune-ui-lib
Version:
Lune UI Components Library
23 lines (22 loc) • 738 B
TypeScript
import type { SxProps } from '@mui/material';
import React from 'react';
export type TileVariant = 'default' | 'light';
export declare const TileVariants: {
DEFAULT: string;
LIGHT: string;
};
declare const Tile: ({ children, button, icon, rightSide, rightIcon, onClick, href, target, variant, selected, sx, compact, ...rest }: {
children: React.ReactNode;
button?: React.ReactNode;
icon?: JSX.Element;
rightIcon?: JSX.Element;
rightSide?: JSX.Element;
onClick?: (f: React.MouseEvent<HTMLElement>) => void;
href?: string;
target?: string;
variant?: TileVariant;
selected?: boolean;
compact?: boolean;
sx?: SxProps;
}) => import("react/jsx-runtime").JSX.Element;
export default Tile;