Skip to content
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.

bootstrap data-toggle and data-target #1337

Open
prasadmes opened this issue Nov 24, 2017 · 0 comments
Open

bootstrap data-toggle and data-target #1337

prasadmes opened this issue Nov 24, 2017 · 0 comments

Comments

@prasadmes
Copy link

prasadmes commented Nov 24, 2017

Why does the data-target and data-toggle wont work when i use it with react.

Heres a sample code which am facing issue with

<div c;lassName="dropdown"> 
    <span className="dropdown-toggle" data-toggle="collapse" data-target="#target">Toggle Dropdown</span>
    <ul id="target" className="collapse">
        <li><a href="#"><i className="fa fa-bar-chart"></i><span className="menuName">Options</span></a></li>
    </ul>
</div>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant