[android-components](../index.md) / [mozilla.components.feature.pwa.ext](index.md) / [toCustomTabConfig](./to-custom-tab-config.md)

# toCustomTabConfig

`fun `[`WebAppManifest`](../mozilla.components.concept.engine.manifest/-web-app-manifest/index.md)`.toCustomTabConfig(): `[`CustomTabConfig`](../mozilla.components.browser.session.tab/-custom-tab-config/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/pwa/src/main/java/mozilla/components/feature/pwa/ext/WebAppManifest.kt#L29)

Creates a [CustomTabConfig](../mozilla.components.browser.session.tab/-custom-tab-config/index.md) that styles a custom tab toolbar to match the manifest theme.

