main
js 17 lines 361 Bytes
Raw
1 // @customMacros:"idx.a"
2
3 function Component(props) {
4 // outlined
5 const groupName1 = idx(props, _ => _.group.label);
6 // not outlined
7 const groupName2 = idx.a(props, _ => _.group.label);
8 // outlined
9 const groupName3 = idx.a.b(props, _ => _.group.label);
10 return (
11 <div>
12 {groupName1}
13 {groupName2}
14 {groupName3}
15 </div>
16 );
17 }