mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-11-29 13:58:02 +03:00
Undo changes
This commit is contained in:
parent
a0c9d41f4e
commit
ffb4b6e19f
@ -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',
|
||||||
|
@ -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 = {},
|
||||||
|
@ -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 = []
|
||||||
|
Loading…
Reference in New Issue
Block a user