Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101851575
Paper.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Feb 14, 09:24
Size
1 KB
Mime Type
text/x-java
Expires
Sun, Feb 16, 09:24 (2 d)
Engine
blob
Format
Raw Data
Handle
24242192
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
Paper.d.ts
View Options
import * as React from 'react';
import { SxProps } from '@mui/system';
import { OverridableStringUnion } from '@mui/types';
import { Theme } from '../styles';
import { OverrideProps, OverridableComponent } from '../OverridableComponent';
import { PaperClasses } from './paperClasses';
export interface PaperPropsVariantOverrides {}
export interface PaperTypeMap<P = {}, D extends React.ElementType = 'div'> {
props: P & {
/**
* The content of the component.
*/
children?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<PaperClasses>;
/**
* Shadow depth, corresponds to `dp` in the spec.
* It accepts values between 0 and 24 inclusive.
* @default 1
*/
elevation?: number;
/**
* If `true`, rounded corners are disabled.
* @default false
*/
square?: boolean;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
/**
* The variant to use.
* @default 'elevation'
*/
variant?: OverridableStringUnion<'elevation' | 'outlined', PaperPropsVariantOverrides>;
};
defaultComponent: D;
}
/**
*
* Demos:
*
* - [Card](https://mui.com/material-ui/react-card/)
* - [Paper](https://mui.com/material-ui/react-paper/)
*
* API:
*
* - [Paper API](https://mui.com/material-ui/api/paper/)
*/
declare const Paper: OverridableComponent<PaperTypeMap>;
export type PaperProps<
D extends React.ElementType = PaperTypeMap['defaultComponent'],
P = {},
> = OverrideProps<PaperTypeMap<P, D>, D>;
export default Paper;
Event Timeline
Log In to Comment