Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
xiel committed Jul 4, 2024
1 parent bf1556e commit 092671d
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion docs/src/components/CodeArea/CodeArea.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Prism from 'prismjs'
import 'prismjs/themes/prism-okaidia.css'

import Prism from 'prismjs'
import React, { useCallback } from 'react'

import c from './CodeArea.module.scss'
Expand Down
3 changes: 2 additions & 1 deletion docs/src/components/Docs/DocsNav.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { LinkActiveClassName } from '@/components/LinkActiveClassName'
import React from 'react'

import { LinkActiveClassName } from '@/components/LinkActiveClassName'

const liClass = 'my-2'
const aClass = 'block py-1 px-2 rounded hover:bg-gray-500 hover:bg-opacity-25 focus:bg-gray-500 focus:bg-opacity-25'
const aActiveClass = 'block py-1 px-2 rounded bg-gray-500 bg-opacity-25 bold font-semibold'
Expand Down
3 changes: 2 additions & 1 deletion docs/src/components/Skeleton/Header/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { LinkActiveClassName } from '@/components/LinkActiveClassName'
import VisuallyHidden from '@reach/visually-hidden'
import Link from 'next/link'
import React from 'react'

import { LinkActiveClassName } from '@/components/LinkActiveClassName'

import { Content } from '../Content'

interface Props {
Expand Down
1 change: 1 addition & 0 deletions docs/src/components/Skeleton/WheelEventNotice.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as React from 'react'
import { useEffect, useState } from 'react'

import { Richtext } from '../Richtext/Richtext'

export function WheelEventNotice() {
Expand Down
1 change: 1 addition & 0 deletions docs/src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// import "@/styles/globals.css";
import "@/styles/index.scss";

import type { AppProps } from "next/app";

export default function App({ Component, pageProps }: AppProps) {
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Html, Head, Main, NextScript } from "next/document";
import { Head, Html, Main, NextScript } from "next/document";

export default function Document() {
return (
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/docs/options.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'

import { configDefaults } from 'wheel-gestures'

import CodeArea from '../../components/CodeArea/CodeArea'
import { optionsExample } from '../../components/Docs/docs-codes'
import { DocsContent } from '../../components/Docs/DocsContent'
Expand Down

0 comments on commit 092671d

Please sign in to comment.