How to use the react-ace.defaultProps function in react-ace

To help you get started, we’ve selected a few react-ace examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github GetKitsune / application-development-kit / IDE / src / components / editor / index.js View on Github external
return (
				<div style="{style}">
					{isVisible &amp;&amp; }
					<div>
						{this.renderFile()}
						{this.renderPlugins()}
					</div>
				</div>
			);
		}

		return null;
	}
}

AceEditor.defaultProps = {
	name: 'kitsune-editor',
	focus: true,
	theme: 'kitsuneTheme',
	value: '',
	showGutter: true,
	onChange: null,
	onPaste: null,
	onLoad: null,
	onScroll: null,
	minLines: null,
	maxLines: null,
	readOnly: false,
	highlightActiveLine: true,
	showPrintMargin: false,
	tabSize: 2,
	cursorStart: 1,

react-ace

A react component for Ace Editor

MIT
Latest version published 20 days ago

Package Health Score

94 / 100
Full package analysis

Popular react-ace functions