@audira/carbon-react-native
Version:
Build React Native apps with component and shared patterns using Carbon
32 lines (31 loc) • 965 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.CarbonReactNative = CarbonReactNative;
var _index = require("../_internal/providers/index.js");
var _jsxRuntime = require("react/jsx-runtime");
function CarbonReactNative({
// GlobalConfigProviderProps
android_buttonRippleEffect = true,
notificationColor = 'high_contrast',
toastDuration = 5000,
rtl = false,
// ThemeProviderProps
colorScheme,
children
}) {
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.GlobalConfigProvider, {
android_buttonRippleEffect: android_buttonRippleEffect,
notificationColor: notificationColor,
toastDuration: toastDuration,
rtl: rtl,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ThemeProvider, {
colorScheme: colorScheme,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.BreakpointProvider, {
children: children
})
})
});
}
//# sourceMappingURL=CarbonReactNative.js.map