Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 72aed13

Browse filesBrowse files
committed
docs: update layout
1 parent edc6772 commit 72aed13
Copy full SHA for 72aed13

File tree

Expand file treeCollapse file tree

2 files changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-4
lines changed

‎packages/docs/src/templates/Docs.tsx

Copy file name to clipboardExpand all lines: packages/docs/src/templates/Docs.tsx
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { graphql } from 'gatsby'
55
import { MDXProvider } from '@mdx-js/react'
66
import { MDXRenderer } from 'gatsby-plugin-mdx'
77
import { CodeBlock, Example, Footer, Header, Seo, Sidebar, Toc } from './../components/'
8-
import { CCol, CContainer, CRow, CTable } from '@coreui/react/src/index'
8+
import { CCol, CContainer, CRow, CTable } from '@coreui/react/src/'
99
import './../styles/styles.scss'
1010

1111
interface ContextProps {
@@ -17,9 +17,9 @@ export const myContext = React.createContext({} as ContextProps)
1717

1818
const components = {
1919
// eslint-disable-next-line react/display-name
20-
pre: (props) => <CodeBlock {...props} />,
20+
pre: (props: any) => <CodeBlock {...props} />,
2121
// eslint-disable-next-line react/display-name
22-
table: (props) => <CTable responsive {...props} className="table table-striped table-api" />,
22+
table: (props: any) => <CTable responsive {...props} className="table table-striped table-api" />,
2323
Example,
2424
}
2525

‎packages/docs/src/templates/Layout.tsx

Copy file name to clipboardExpand all lines: packages/docs/src/templates/Layout.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types'
33
import Helmet from 'react-helmet'
44
import { Footer, Header } from './../components/'
55
import './../styles/styles.scss'
6-
import { CContainer } from '@coreui/react/src/index'
6+
import { CContainer } from '@coreui/react/src/'
77

88
const DefaultLayout: FC = ({ children, ...props }) => {
99
return (

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.