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:
witt
2020-10-16 10:40:02 +08:00
committed by unix
parent f8461d9845
commit 5cfa581728
94 changed files with 95 additions and 94 deletions

View File

@@ -1,5 +1,5 @@
import React, { useMemo } from 'react'
import useTheme from '../styles/use-theme'
import useTheme from '../use-theme'
import withDefaults from '../utils/with-defaults'
import { NormalSizes, ButtonTypes } from '../utils/prop-types'
import { ButtonGroupContext, ButtonGroupConfig } from './button-group-context'