MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / mapToCssModules

Function mapToCssModules

src/Modal.js:445–459  ·  view source on GitHub ↗
(
          classNames(dialogBaseClass, this.props.className, {
            [`modal-${this.props.size}`]: this.props.size,
            [`${dialogBaseClass}-centered`]: this.props.centered,
            [`${dialogBaseClass}-scrollable`]: this.props.scrollable,
            'modal-fullscreen': this.props.fullscreen === true,
            [`modal-fullscreen-${this.props.fullscreen}-down`]:
              typeof this.props.fullscreen === 'string',
          }),
          this.props.cssModule,
        )

Source from the content-addressed store, hash-verified

443 <div
444 {...attributes}
445 className={mapToCssModules(
446 classNames(dialogBaseClass, this.props.className, {
447 [`modal-${this.props.size}`]: this.props.size,
448 [`${dialogBaseClass}-centered`]: this.props.centered,
449 [`${dialogBaseClass}-scrollable`]: this.props.scrollable,
450 'modal-fullscreen': this.props.fullscreen === true,
451 [`modal-fullscreen-${this.props.fullscreen}-down`]:
452 typeof this.props.fullscreen === 'string',
453 }),
454 this.props.cssModule,
455 )}
456 role="document"
457 ref={(c) => {
458 this._dialog = c;
459 }}
460 >
461 <div
462 className={mapToCssModules(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…