How to use the @talend/react-components.Table.ToggleFilterComponent function in @talend/react-components

To help you get started, we’ve selected a few @talend/react-components 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 Talend / ui / packages / data-mapper / stories / DataMapper.js View on Github external
function createMandatoryFieldFilter() {
	return {
		id: mandatoryFieldFilterId,
		active: false,
		match: matchMandatory,
		renderer: Table.ToggleFilterComponent,
		rendererProps: {
			// FIXME need to be i18n ready
			label: 'Show Mandatory Fields (*) Only',
		},
	};
}