UNPKG
dw-neit-style
Version:
latest (3.7.1-b4)
3.7.1-b4
3.7.1-b3
css-in-js solution for application combine with antd v5 token system and emotion
dw-neit-style
/
es
/
factories
/
createStyledThemeProvider.d.ts
8 lines
(7 loc)
•
337 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
StyledConfig
,
StyledThemeProvider
}
from
"../types"
;
/** * 创建一个 styled api 的 ThemeProvider * 如果用户有设定 ThemeProvider,就使用用户的,否则使用 ThemeContext.Provider *
@param
styledConfig
*/
export
declare
const
createStyledThemeProvider
:
(
styledConfig
:
StyledConfig
) =>
StyledThemeProvider
;