Custom Tabs Component in AEM React SPA | Community
Skip to main content
Leela-Pavan-Kumar
December 27, 2021
Solved

Custom Tabs Component in AEM React SPA

  • December 27, 2021
  • 3 replies
  • 1990 views

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.
Best answer by santhosh_kumark

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
June 19, 2023

Hi @leela-pavan-kumar ,

 

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

<project>/components/tabs2
September 13, 2023

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

July 1, 2024

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