Use Text in OpenPositions
This commit is contained in:
@@ -13,7 +13,7 @@ export interface TextProps {
|
||||
lineHeight?: string;
|
||||
minHeight?: string;
|
||||
center?: boolean;
|
||||
fontWeight?: number;
|
||||
fontWeight?: number | string;
|
||||
}
|
||||
|
||||
const PlainText: React.StatelessComponent<TextProps> = ({ children, className, Tag }) => (
|
||||
|
||||
@@ -4,6 +4,7 @@ import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowCol
|
||||
import * as React from 'react';
|
||||
|
||||
import { Retry } from 'ts/components/ui/retry';
|
||||
import { Text } from 'ts/components/ui/text';
|
||||
import { HeaderItem } from 'ts/pages/jobs/list/header_item';
|
||||
import { ListItem } from 'ts/pages/jobs/list/list_item';
|
||||
import { colors } from 'ts/style/colors';
|
||||
@@ -171,10 +172,12 @@ export interface JobInfoListItemProps {
|
||||
const PlainJobInfoListItem: React.StatelessComponent<JobInfoListItemProps> = ({ title, description, onClick }) => (
|
||||
<div className="mb3" onClick={onClick}>
|
||||
<ListItem>
|
||||
<div style={{ fontWeight: 'bold', fontSize: 16, color: colors.mediumBlue }}>{title + ' ›'}</div>
|
||||
<div className="pt1" style={{ fontSize: 16, color: colors.darkGrey }}>
|
||||
<Text fontWeight="bold" fontSize="16px" fontColor={colors.mediumBlue}>
|
||||
{title + ' ›'}
|
||||
</Text>
|
||||
<Text className="pt1" fontSize="16px" fontColor={colors.darkGrey}>
|
||||
{description}
|
||||
</div>
|
||||
</Text>
|
||||
</ListItem>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -10,7 +10,7 @@ const INFURA_API_KEY = 'T5WSC8cautR4KXyYgsRs';
|
||||
|
||||
export const configs = {
|
||||
AMOUNT_DISPLAY_PRECSION: 5,
|
||||
BACKEND_BASE_PROD_URL: 'https://website-api.0xproject.com',
|
||||
BACKEND_BASE_PROD_URL: 'http://localhost:3000',
|
||||
BACKEND_BASE_STAGING_URL: 'http://ec2-52-91-181-85.compute-1.amazonaws.com',
|
||||
BASE_URL,
|
||||
BITLY_ACCESS_TOKEN: 'ffc4c1a31e5143848fb7c523b39f91b9b213d208',
|
||||
|
||||
Reference in New Issue
Block a user