Začetni commit projekta rezervacije

This commit is contained in:
Mark Poljanšek committed 2025-04-23 20:19:33 +02:00
commit 328731b32f
56062 files changed
+2485242

No files matched your search

+48
View File
@@ -0,0 +1,48 @@
import * as React from 'react';
import { SxProps } from '@mui/system';
import { Theme } from "../index.js";
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
import { ImageListItemClasses } from "./imageListItemClasses.js";
export interface ImageListItemOwnProps {
/**
* The content of the component, normally an `<img>`.
*/
children?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<ImageListItemClasses>;
/**
* Width of the item in number of grid columns.
* @default 1
*/
cols?: number;
/**
* Height of the item in number of grid rows.
* @default 1
*/
rows?: number;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
}
export interface ImageListItemTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'li'> {
props: AdditionalProps & ImageListItemOwnProps;
defaultComponent: RootComponent;
}
/**
*
* Demos:
*
* - [Image List](https://mui.com/material-ui/react-image-list/)
*
* API:
*
* - [ImageListItem API](https://mui.com/material-ui/api/image-list-item/)
*/
declare const ImageListItem: OverridableComponent<ImageListItemTypeMap>;
export type ImageListItemProps<RootComponent extends React.ElementType = ImageListItemTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<ImageListItemTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
component?: React.ElementType;
};
export default ImageListItem;
@@ -0,0 +1,18 @@
export interface ImageListItemClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to an `img` element to ensure it covers the item. */
img: string;
/** Styles applied to the root element if `variant="standard"`. */
standard: string;
/** Styles applied to the root element if `variant="woven"`. */
woven: string;
/** Styles applied to the root element if `variant="masonry"`. */
masonry: string;
/** Styles applied to the root element if `variant="quilted"`. */
quilted: string;
}
export type ImageListItemClassKey = keyof ImageListItemClasses;
export declare function getImageListItemUtilityClass(slot: string): string;
declare const imageListItemClasses: ImageListItemClasses;
export default imageListItemClasses;
+4
View File
@@ -0,0 +1,4 @@
export * from "./ImageListItem.js";
export { default } from "./ImageListItem.js";
export * from "./imageListItemClasses.js";
export { default as imageListItemClasses } from "./imageListItemClasses.js";