react-icons/fi#FiMessageCircle JavaScript Examples

The following examples show how to use react-icons/fi#FiMessageCircle. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: index.js    From dashboard-reactjs with MIT License 4 votes vote down vote up
export default function Dashboard() {
    useEffect(() => {
        document.title = 'Dashboard'
    }, []);

    return (
        <>
            <div className="col-12 title">
                <h1>Olá, Bem vindo à Dashboard</h1>
            </div>
            <div className="col-3 px-0">
                <CardDashboard className="red">
                    <div className="card-body">
                        <div className="row">
                            <div className="col">
                                <div className="title">Card One</div>
                                <div className="number pulsate">34</div>
                            </div>
                            <div className="col-auto">
                                <FiCalendar size="3em" />
                            </div>
                        </div>
                    </div>
                </CardDashboard>
            </div>
            <div className="col-3 px-0">
                <CardDashboard className="blue">
                    <div className="card-body">
                        <div className="row">
                            <div className="col">
                                <div className="title">Card Two</div>
                                <div className="number pulsate">0</div>
                            </div>
                            <div className="col-auto">
                                <FiMessageCircle size="3em" />
                            </div>
                        </div>
                    </div>
                </CardDashboard>
            </div>
            <div className="col-3 px-0">
                <CardDashboard className="green">
                    <div className="card-body">
                        <div className="row">
                            <div className="col">
                                <div className="title">Mensagens</div>
                                <div className="number pulsate">0</div>
                            </div>
                            <div className="col-auto">
                                <FiMessageCircle size="3em" />
                            </div>
                        </div>
                    </div>
                </CardDashboard>
            </div>
            <div className="col-3 px-0">
                <CardDashboard className="orange">
                    <div className="card-body">
                        <div className="row">
                            <div className="col">
                                <div className="title">Users</div>
                                <div className="number pulsate">0</div>
                            </div>
                            <div className="col-auto">
                                <FiUsers size="3em" />
                            </div>
                        </div>
                    </div>
                </CardDashboard>
            </div>
            <div className="col-12 px-0">
                <Card className="red">
                    <div className="card-title">
                        <h3>Tables</h3>
                    </div>
                    <div className="card-body">
                        <Table>
                            <thead>
                                <tr>
                                    <th className="col-1">#</th>
                                    <th className="col-8">Name</th>
                                    <th>Actions</th>
                                </tr>
                            </thead>
                            <tbody>
                                {array.map(item => (
                                    <tr>
                                        <td style={{ textAlign: 'center' }}>{ item.id }</td>
                                        <td style={{ textAlign: 'center' }}>{ item.name }</td>
                                        <td style={{ textAlign: 'center' }}>
                                            <button className="edit">
                                                Edit
                                            </button>
                                            <button className="info">
                                                Info
                                            </button>
                                            <button className="eraser">
                                                Trash
                                            </button>
                                        </td>
                                    </tr>
                                ))}
                            </tbody>
                        </Table>
                    </div>
                </Card>
            </div>
        </>
    );
}