在React中显示[Semantic UI]

时间:2017-10-31 16:36:18

标签: javascript reactjs semantic-ui

我的目标是将这里的一些代码http://jsbin.com/qipufujibi/edit?html,output转换为语义UI反应。

这是我的尝试:

<Card>
    <Reveal animated='fade'>
        <Reveal.Content visible>
            <Image src="imgSrc"/>
        </Reveal.Content>
        <Reveal.Content hidden>
            <Card.Content>
                <h3>Minions</h3>
                <Card.Meta>
                    <span className='date'>2015</span>
                </Card.Meta>
                <Card.Description>
                    Matt
                </Card.Description>
            </Card.Content>
            <Card.Content extra>
                <a>
                    <Icon name='user' />
                    22 Friends
                </a>
            </Card.Content>
        </Reveal.Content>
    </Reveal>
</Card>

但是,它无法正常工作。 它失去了风格https://i.imgur.com/Ypx5Nag.gifv。我该如何解决?

0 个答案:

没有答案