File tree 12 files changed +15
-15
lines changed
12 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
- import Deck from '../../src/components/Deck .js' ;
3
- import Slide from '../../src/components/Slide .js' ;
4
- import SlideElementWrapper from '../../src/components/SlideElementWrapper ' ;
2
+ import Deck from '../../src/components/deck .js' ;
3
+ import Slide from '../../src/components/slide .js' ;
4
+ import SlideElementWrapper from '../../src/components/slide-element-wrapper ' ;
5
5
6
6
const TestJs = ( ) => (
7
7
< Deck loop = { true } >
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import slides from './slides.mdx' ;
3
- import Deck from '../../src/components/Deck ' ;
4
- import Slide from '../../src/components/Slide ' ;
3
+ import Deck from '../../src/components/deck ' ;
4
+ import Slide from '../../src/components/slide ' ;
5
5
6
6
import { MDXProvider } from '@mdx-js/react' ;
7
7
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ ${inlineModules
126
126
/*
127
127
Step 10:
128
128
* Finally, declare the default export as an array of the slide components.
129
- * See /examples/MDX/TestMDX .js for how to import and use the generated slide
129
+ * See /examples/mdx/test-mdx .js for how to import and use the generated slide
130
130
* components.
131
131
*/
132
132
const footer = `export const slideCount = ${ slides . length } ;\n\n
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { render } from 'react-dom' ;
3
3
import { MDXProvider } from '@mdx-js/react' ;
4
- import Deck from '../src/components/Deck ' ;
5
- import Slide from '../src/components/Slide ' ;
4
+ import Deck from '../src/components/deck ' ;
5
+ import Slide from '../src/components/slide ' ;
6
6
7
7
// See the webpack config to see how this import alias is made
8
8
import slides from 'spectacle-user-mdx' ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import PropTypes from 'prop-types' ;
3
3
4
- import useDeck , { DeckContext } from '../hooks/useDeck ' ;
5
- import isComponentType from '../utils/isComponentType .js' ;
4
+ import useDeck , { DeckContext } from '../hooks/use-deck ' ;
5
+ import isComponentType from '../utils/is-component-type .js' ;
6
6
import { useTransition , animated } from 'react-spring' ;
7
7
8
8
/**
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react';
2
2
import PropTypes from 'prop-types' ;
3
3
import { useSpring , animated } from 'react-spring' ;
4
4
5
- import { SlideContext } from '../hooks/useSlide ' ;
5
+ import { SlideContext } from '../hooks/use-slide ' ;
6
6
7
7
/**
8
8
* SlideElementWrapper provides a component for animating slideElements
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import PropTypes from 'prop-types' ;
3
3
4
- import useSlide , { SlideContext } from '../hooks/useSlide ' ;
5
- import { DeckContext } from '../hooks/useDeck ' ;
6
- import isComponentType from '../utils/isComponentType .js' ;
4
+ import useSlide , { SlideContext } from '../hooks/use-slide ' ;
5
+ import { DeckContext } from '../hooks/use-deck ' ;
6
+ import isComponentType from '../utils/is-component-type .js' ;
7
7
8
8
/**
9
9
* Slide component wraps anything going in a slide and maintains
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
- import { DeckContext } from './useDeck ' ;
3
+ import { DeckContext } from './use-deck ' ;
4
4
import debounce from '../utils/debounce' ;
5
5
6
6
/**
File renamed without changes.
You can’t perform that action at this time.
0 commit comments