import Telescope from 'meteor/nova:lib'; import React from 'react'; const renderSetting = (field, key) => { return ( {key} {field.type && field.type.name} {field.private ? private : Telescope.settings.get(key)} {field.defaultValue && field.defaultValue.toString()} {field.autoform && field.autoform.instructions} ) } const Settings = props => { return (

Settings

{_.map(_.omit(Telescope.settings.collection.simpleSchema()._schema, (value, key) => key.indexOf("$") >= 0), renderSetting)}
Name Type Value Default Description
) } module.exports = Settings export default Settings