How to use the @microsoft/fast-data-utilities-react.mapDataToComponent function in @microsoft/fast-data-utilities-react

To help you get started, we’ve selected a few @microsoft/fast-data-utilities-react 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 microsoft / fast-dna / packages / fast-viewer-react / src / viewer-content / viewer-content.base.tsx View on Github external
(componentDataItem: ComponentData, index: number) => {
                const mappedComponent: any = this.props.components.find(
                    (component: ChildOptionItem) => {
                        return componentDataItem.id === component.schema.id;
                    }
                );

                return (
                    
                );
            }
        );