mirror of
https://github.com/wassname/talk.git
synced 2026-07-21 12:51:03 +08:00
Changes
This commit is contained in:
@@ -4,10 +4,10 @@ import styles from './Slot.css';
|
||||
import {connect} from 'react-redux';
|
||||
import {getSlotElements} from 'coral-framework/helpers/plugins';
|
||||
|
||||
function Slot ({fill, inline = false, plugin_config: {...config}, ...rest}) {
|
||||
function Slot ({fill, inline = false, plugin_config: config, ...rest}) {
|
||||
return (
|
||||
<div className={cn({[styles.inline]: inline, [styles.debug]: config.debug})}>
|
||||
{getSlotElements(fill, {...rest, ...config})}
|
||||
{getSlotElements(fill, {...rest, config}}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user