mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-26 13:25:46 +08:00
refactor(use-theme): move use-theme to the top directory (#397)
* refactor(use-theme): move use-theme to the top directory * chore(jest): ignore use-theme of forwarding
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React, { useMemo } from 'react'
|
||||
import withDefaults from 'components/utils/with-defaults'
|
||||
import useTheme from 'components/styles/use-theme'
|
||||
import useTheme from 'components/use-theme'
|
||||
import { GeistUIThemes } from 'components/styles/themes'
|
||||
|
||||
interface Props {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from 'react'
|
||||
import { useRouter } from 'next/router'
|
||||
import useTheme from 'components/styles/use-theme'
|
||||
import useTheme from 'components/use-theme'
|
||||
|
||||
export interface Props {
|
||||
name: string
|
||||
|
||||
Reference in New Issue
Block a user