import React from 'react'; import { TileGroup, Tile, Stack } from '@carbon/react'; import { FeatureFlags } from '@carbon/feature-flags'; const TestComponent = () => { return ( //prettier-ignore
{/* Case 1: Unwrapped TileGroup */} Option 1 Option 2 {/* Wrapped standalone missing flag prop */} Already Wrapped Option 1 Already Wrapped Option 2 Already Wrapped Option 3 {/* Case 3: Already wrapped with other flags */} Other Flag Option 1 {/* Case 4: Already wrapped with correct flag */} Correctly Wrapped Option {/* Case 5: Standalone Tiles with different scenarios */} {/* Unwrapped standalone */} Standalone Tile {/* Wrapped standalone missing flag prop */} Wrapped Standalone {/* Wrapped standalone with other flag */} Other Flag Standalone {/* Correctly wrapped standalone */} Correct Standalone {/* Case 6: Nested structures */}
Nested Option 1
Nested Option 2
); }; export default TestComponent;