Skip to content
Snippets Groups Projects
Select Git revision
  • 5be4f0af10489219e16310b7f25f70ac3e16b341
  • master default protected
2 results

diagnostics.go

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    CustomButton.js 549 B
    import * as React from "react";
    import { Button } from "react-native-paper";
    import { StyleSheet } from "react-native";
    
    const CustomButton = (props) => (
      <Button
        style={{ ...styles.button, ...props.style }}
        color={props.color}
        icon={props.icon}
        mode={props.mode}
        color="#435768"
        onPress={props.onPress}
        disabled={props.disabled}
      >
        {props.title}
      </Button>
    );
    
    export default CustomButton;
    
    const styles = StyleSheet.create({
      button: {
        width: "40%",
        alignSelf: "center",
        color: "#435768",
      },
    });