import React, { Component } from 'react'; import './index.less'; import { Icon } from 'antd-mobile'; export class Block extends Component { render() { const { className = '', children } = this.props; return
{children}
; } } export class TopBlock extends Component { render() { const { className = '', theme = 'default', children } = this.props; return
{children}
; } } export class TagBlock extends Component { render() { const { className = '', theme = 'default', tag, children } = this.props; return (
{tag}
{children}
); } } export class LinkBlock extends Component { render() { const { className = '', theme = 'default', title, sub } = this.props; return (
{title}
{sub}
); } }