Packages
Seamless integration of Twind in a React project
- 📖 Study the documentation
- 🧭 Explore the examples
- 📜 Read the changelog
Subpath Exports
Functions
default
▸ default<Theme
>(config
, isProduction?
): Twind
<Theme
& BaseTheme
>
Type parameters
Name | Type |
---|---|
Theme | extends BaseTheme = BaseTheme |
Parameters
Name | Type |
---|---|
config | TwindConfig <Theme > |
isProduction? | boolean |
Returns
Defined in
packages/with-react/src/index.ts:14
▸ default<Theme
, Presets
>(config
, isProduction?
): Twind
<BaseTheme
& ExtractThemes
<Theme
, Presets
>>
Type parameters
Name | Type |
---|---|
Theme | BaseTheme |
Presets | extends Preset <any >[] = Preset <BaseTheme >[] |
Parameters
Name | Type |
---|---|
config | TwindUserConfig <Theme , Presets > |
isProduction? | boolean |
Returns
Twind
<BaseTheme
& ExtractThemes
<Theme
, Presets
>>