File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ class DropdownToggle extends React.Component {
7676 } else if ( ! tag ) {
7777 Tag = Button ;
7878 props . color = color ;
79+ props . cssModule = cssModule ;
7980 } else {
8081 Tag = tag ;
8182 }
Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ const defaultProps = {
1818 type : 'button'
1919} ;
2020
21- const navbarToggleIcon = < span className = "navbar-toggler-icon" /> ;
22-
2321const NavbarToggler = ( props ) => {
2422 const {
2523 className,
@@ -40,7 +38,7 @@ const NavbarToggler = (props) => {
4038
4139 return (
4240 < Tag { ...attributes } className = { classes } >
43- { children || navbarToggleIcon }
41+ { children || < span className = { mapToCssModules ( 'navbar-toggler-icon' , cssModule ) } /> }
4442 </ Tag >
4543 ) ;
4644} ;
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ class Tooltip extends React.Component {
206206
207207 return (
208208 < TetherContent
209- className = " tooltip"
209+ className = { mapToCssModules ( ' tooltip' , this . props . cssModule ) }
210210 tether = { tetherConfig }
211211 tetherRef = { this . props . tetherRef }
212212 isOpen = { this . props . isOpen }
You can’t perform that action at this time.
0 commit comments