/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ import * as React from 'react' import { StyledWrapper, StyledTitle, StyledContentWrapper } from './style' import Tokens, { Size, Type } from '../tokens/index' export interface Props { title: React.ReactNode value: string converted: string id?: string isNegative?: boolean size?: Size color?: Type border?: 'first' | 'last' | 'default' } export default class ListToken extends React.PureComponent { static defaultProps = { border: 'default' } render () { const { id, title, value, converted, isNegative, size, color, border } = this.props return ( {title} ) } }