StashHead.js 672 Bytes
import React, {Component} from "react";
import {Text} from "react-native";
import { getHomeColor } from "../utils/utils";
export default class StashHead extends Component {
  render() {
    return (
      <Text
        style={{
          fontSize: 10,
          color: global.homeColor,
          borderColor: global.homeColor,
          borderWidth: 1,
          borderRadius: 2,
          marginRight: 5,
          justifyContent: "center",
          alignItems: "center",
          textAlign: "center",
          paddingLeft: 4,
          paddingTop: 2,
          paddingRight: 4,
          paddingBottom: 1
        }}
      >
        置顶
      </Text>
    );
  }
}