Skip to main content
Leela-Pavan-Kumar
Level 4
Dec 27, 2021 12:51 PM UTC
Solved

Custom Tabs Component in AEM React SPA

I am able to render the OOTB Tabs Component in AEM React SPA with following code in ui.frontend file.

import {MapTo} from '@adobe/aem-react-editable-components';
import {TabsV1, TabsV1IsEmptyFn} from '@adobe/aem-core-components-react-spa';
MapTo('<project>/components/tabs')(TabsV1, {isEmpty: TabsV1IsEmptyFn});

 But Not able to render with proxy component which has following code

import {MapTo} from '@adobe/aem-react-editable-components';
import {TabsV1, TabsV1IsEmptyFn} from '@adobe/aem-core-components-react-spa';
MapTo('<project>/components/tabs2')(TabsV1, {isEmpty: TabsV1IsEmptyFn});

Any advise would be much appreciated.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
santhosh_kumark
santhosh_kumarkAccepted solution
Level 6
Jun 19, 2023 4:39 PM UTC

Hi @leela-pavan-kumar ,

 

Did you check the sling model exporter json working for resource type - 

<project>/components/tabs2

3 replies

santhosh_kumark
santhosh_kumarkAccepted solution
Level 6
Jun 19, 2023 4:39 PM UTC

Hi @leela-pavan-kumar ,

 

Did you check the sling model exporter json working for resource type - 

<project>/components/tabs2
Translate
Level 2
Sep 13, 2023 1:13 PM UTC

Hi @leela-pavan-kumar , Is your Issue resolved ? How did you implement this, Can you share the details here?

Translate
Jul 1, 2024 1:09 AM UTC

Hi @leela-pavan-kumar , Can you share your solution here, please? 

Translate