FredericHeem/starhackit

View on GitHub
mobile/src/components/Label.js

Summary

Maintainability
A
2 hrs
Test Coverage
import React from "react";

export default context => {
  const Text = require("components/Text").default(context);
  return props => (
    <Text
      bold
      style={{
        marginTop: 10,
        marginBottom: 16,
        fontSize: 16
      }}
      {...props}
    >
      {props.children}
    </Text>
  );
};