Packages
- 📖 Study the documentation
- 🧭 Explore the examples
- 📜 Read the changelog
Functions
default
▸ default(config
): React.JSXElementConstructor
<AppProps
>
Parameters
Name | Type |
---|---|
config | TwindConfig <any > | TwindUserConfig <any , Preset <BaseTheme >[]> |
Returns
React.JSXElementConstructor
<AppProps
>
Defined in
packages/with-next/src/app.ts:11
▸ default<Props
, Component
>(config
, AppComponent
, isProduction?
): Component
Type parameters
Name |
---|
Props |
Component |
Parameters
Name | Type |
---|---|
config | TwindConfig <any > | TwindUserConfig <any , Preset <BaseTheme >[]> |
AppComponent | Object |
isProduction? | boolean |
Returns
Component