native-base-web
native-base-web copied to clipboard
Added support for native-base-shoutem-theme to native-base-web components
I have added support for native-base-shoutem-theme and recompiled the lib folder with the changes.
By comparing native-base and native-base-web, I saw that the support for native-base-shoutem-theme is missing. For instance, in file native-base/src/button.js; the following code is added to support shoutem-theme.
import { connectStyle } from "native-base-shoutem-theme";
...
// and at the end...
const StyledButton = connectStyle(
"NativeBase.Button",
{},
mapPropsToStyleNames
)(Button);
export { StyledButton as Button };
The component file Components/Widgets/Button.js in 'native-base-web' is missing this connector.
I have added the missing connector in the pull request.