/**
* Internal dependencies
*/
import { SettingsCheckbox } from './components';
export const Content = ( { data } ) => {
const { settings } = data;
console.log( settings );
return (
{ settings.map( ( setting, idx ) => {
const key = setting.id || setting.title || idx;
switch ( setting.type ) {
case 'title':
return (
{ setting.title }
);
case 'checkbox':
return (
);
case 'slotfill_placeholder':
return (
);
default:
return null;
}
} ) }
);
};