1
1
mirror of https://github.com/jxnblk/mdx-deck.git synced 2024-11-26 00:35:02 +03:00

Undo changes

This commit is contained in:
Brent Jackson 2019-07-07 12:50:09 -04:00
parent a0c9d41f4e
commit ffb4b6e19f
3 changed files with 1 additions and 4 deletions

View File

@ -13,8 +13,6 @@ const paddingBottom = props => ({
const Outer = styled('div')( const Outer = styled('div')(
{ {
width: '100%', width: '100%',
maxWidth: '100%',
minWidth: 0,
height: 0, height: 0,
margin: 'auto', margin: 'auto',
position: 'relative', position: 'relative',

View File

@ -7,7 +7,7 @@ import mdxComponents from './mdx-components'
const DefaultProvider = props => <>{props.children}</> const DefaultProvider = props => <>{props.children}</>
export const Provider = props => { export const Provider = props => {
const { headTags, theme = {}, mdx } = props const { headTags, theme, mdx } = props
const { const {
Provider: UserProvider = DefaultProvider, Provider: UserProvider = DefaultProvider,
components: themeComponents = {}, components: themeComponents = {},

View File

@ -1,7 +1,6 @@
import React from 'react' import React from 'react'
export const splitSlides = props => { export const splitSlides = props => {
console.log('splitSlides', props)
const { theme, themes } = props const { theme, themes } = props
const arr = React.Children.toArray(props.children) const arr = React.Children.toArray(props.children)
const splits = [] const splits = []