File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export default function composeAnimation(makeAnimation) {
28
28
children : PropTypes . node . isRequired ,
29
29
className : PropTypes . string ,
30
30
theme : PropTypes . object . isRequired ,
31
+ inlineBlock : PropTypes . bool ,
31
32
inline : PropTypes . bool ,
32
33
duration : PropTypes . string ,
33
34
timingFunction : PropTypes . string ,
@@ -138,6 +139,7 @@ export default function composeAnimation(makeAnimation) {
138
139
className,
139
140
children,
140
141
inline,
142
+ inlineBlock,
141
143
cssModule,
142
144
...rest
143
145
} = omit ( this . props , [
@@ -161,7 +163,10 @@ export default function composeAnimation(makeAnimation) {
161
163
return (
162
164
< span
163
165
css = { css `${ this . state . styles } ` }
164
- className = { mapToCssModules ( cn ( { 'd-inline-block' : inline } , className ) , cssModule ) }
166
+ className = { mapToCssModules ( cn ( {
167
+ 'd-inline' : inline ,
168
+ 'd-inline-block' : inlineBlock ,
169
+ } , className ) , cssModule ) }
165
170
{ ...rest }
166
171
>
167
172
{ children }
You can’t perform that action at this time.
0 commit comments