File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
stories/components/stepper Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change
1
+ export { createStyles } from '@material-ui/styles'
1
2
// Override material exports as required to reflect committed theme
2
3
export { useWidth } from './useWidth'
3
4
import { ConsistentWith , Omit } from '@material-ui/types'
Original file line number Diff line number Diff line change @@ -7,13 +7,9 @@ import {
7
7
StepLabel ,
8
8
Button ,
9
9
Typography ,
10
- StepperProps ,
11
- StepLabelProps ,
12
- StepProps ,
13
- Theme ,
14
10
} from '../../../src'
15
11
16
- const useStyles = makeStyles ( ( theme : Theme ) =>
12
+ const useStyles = makeStyles ( ( theme ) =>
17
13
createStyles ( {
18
14
root : {
19
15
width : '100%' ,
@@ -29,15 +25,15 @@ const useStyles = makeStyles((theme: Theme) =>
29
25
)
30
26
31
27
function getSteps ( ) {
32
- return [ 'Select campaign settings' , 'Create an ad group' , 'Create an ad ' ]
28
+ return [ 'Select settings' , 'Create a group' , 'Create the thing ' ]
33
29
}
34
30
35
31
function getStepContent ( step : number ) {
36
32
switch ( step ) {
37
33
case 0 :
38
- return 'Select campaign settings...'
34
+ return 'Select settings...'
39
35
case 1 :
40
- return 'What is an ad group anyways?'
36
+ return "Don't bother with this?"
41
37
case 2 :
42
38
return 'This is the bit I really care about!'
43
39
default :
You can’t perform that action at this time.
0 commit comments