Skip to content

Commit 0519bb8

Browse files
fzaninottoJoe Shelby
authored andcommitted
[Showcase] Add posters galore (react-admin) (mui#11939)
1 parent a77d86f commit 0519bb8

File tree

6 files changed

+32
-19
lines changed

6 files changed

+32
-19
lines changed

docs/src/pages/discover-more/showcase/Showcase.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@ const styles = theme => ({
2929
});
3030

3131
const appList = [
32+
{
33+
title: 'Posters Galore',
34+
description:
35+
'The admin of an imaginary poster shop, used as a demo for the react-admin framework. ' +
36+
'Uses many material-ui components, including tables, forms, snackbars, buttons, and ' +
37+
'theming. The UI is responsive. The code is open-source!',
38+
image: '/static/images/showcase/posters-galore.jpg',
39+
link: 'https://marmelab.com/react-admin-demo/',
40+
source:
41+
'https://github.com/marmelab/react-admin/tree/be23a1a8ebc4e2293b57898adcb2f359e836f0fd/examples/demo',
42+
},
3243
{
3344
title: 'Trafikito',
3445
description:

packages/material-ui-lab/src/Slider/Slider.d.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
import * as React from "react";
2-
import { StandardProps } from "@material-ui/core";
3-
import { ButtonProps } from "@material-ui/core/Button";
4-
import { TransitionProps } from "react-transition-group/Transition";
5-
import { TransitionHandlerProps } from "@material-ui/core/transitions/transition";
1+
import * as React from 'react';
2+
import { StandardProps } from '@material-ui/core';
3+
import { ButtonProps } from '@material-ui/core/Button';
4+
import { TransitionProps } from 'react-transition-group/Transition';
5+
import { TransitionHandlerProps } from '@material-ui/core/transitions/transition';
66

77
export interface SliderProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
8-
disabled?: boolean;
9-
reverse?: boolean;
10-
vertical?: boolean;
11-
max?: number;
12-
min?: number;
13-
step?: number;
14-
value?: number;
15-
onChange?: (event: React.ChangeEvent<{}>, value: number) => void;
16-
onDragEnd?: (event: React.ChangeEvent<{}>) => void;
17-
onDragStart?: (event: React.ChangeEvent<{}>) => void;
8+
disabled?: boolean;
9+
reverse?: boolean;
10+
vertical?: boolean;
11+
max?: number;
12+
min?: number;
13+
step?: number;
14+
value?: number;
15+
onChange?: (event: React.ChangeEvent<{}>, value: number) => void;
16+
onDragEnd?: (event: React.ChangeEvent<{}>) => void;
17+
onDragStart?: (event: React.ChangeEvent<{}>) => void;
1818
}
1919

2020
declare const Slider: React.ComponentType<SliderProps>;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export { default } from "./Slider";
2-
export * from "./Slider";
1+
export { default } from './Slider';
2+
export * from './Slider';

packages/material-ui/src/Tabs/Tabs.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export interface TabsProps
88
action?: (actions: TabsActions) => void;
99
centered?: boolean;
1010
children?: React.ReactNode;
11-
component?: React.ReactType<TabsProps>,
11+
component?: React.ReactType<TabsProps>;
1212
fullWidth?: boolean;
1313
indicatorColor?: 'secondary' | 'primary' | string;
1414
onChange?: (event: React.ChangeEvent<{}>, value: any) => void;

packages/material-ui/src/styles/withStyles.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ export interface WithStylesOptions<ClassKey extends string = string>
3838

3939
export type ClassNameMap<ClassKey extends string = string> = Record<ClassKey, string>;
4040

41-
export type WithStyles<T extends string | StyleRules | StyleRulesCallback = string> = Partial<WithTheme> & {
41+
export type WithStyles<T extends string | StyleRules | StyleRulesCallback = string> = Partial<
42+
WithTheme
43+
> & {
4244
classes: ClassNameMap<
4345
T extends string
4446
? T
90.4 KB
Loading

0 commit comments

Comments
 (0)