How to use the aws-amplify-react-native/src/AmplifyTheme.button function in aws-amplify-react-native

To help you get started, we’ve selected a few aws-amplify-react-native examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dabit3 / conference-app-in-a-box / src / App.js View on Github external
class TabNavWithProps extends React.Component {
  static router = TabNavigator.router
  render() {
    return(
      
    )
  }
}

const App = createAppContainer(TabNavWithProps)

const theme = {
  ...AmplifyTheme,
  button: {
    ...AmplifyTheme.button,
    backgroundColor: colors.primaryLight
  },
  sectionFooterLink: {
    ...AmplifyTheme.sectionFooterLink,
    color: colors.primaryLight
  },
  buttonDisabled: {
    ...AmplifyTheme.buttonDisabled,
    backgroundColor: colors.primaryOpaque(0.6)
  }
}

class AppWithAuth extends React.Component {
  state = {
    signedIn: true
  }

aws-amplify-react-native

AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.

Apache-2.0
Latest version published 6 months ago

Package Health Score

88 / 100
Full package analysis

Similar packages