Skip to content

Navigation Menu

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 69dc9b9

Browse filesBrowse files
committed
docs: improve typings
1 parent 1ee3184 commit 69dc9b9
Copy full SHA for 69dc9b9

File tree

1 file changed

+2
-1
lines changed
Filter options
  • packages/docs/src/components

1 file changed

+2
-1
lines changed

‎packages/docs/src/components/Toc.tsx

Copy file name to clipboardExpand all lines: packages/docs/src/components/Toc.tsx
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { forwardRef, useState } from 'react'
1+
import React, { CSSProperties, forwardRef, useState } from 'react'
22
import { CCollapse, CNav } from '@coreui/react/src/index'
33

44
export type TocItem = {
@@ -9,6 +9,7 @@ export type TocItem = {
99

1010
interface TocProps {
1111
items: TocItem[]
12+
style: CSSProperties
1213
}
1314

1415
const toc = (items: TocItem[]) => {

0 commit comments

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