{selectedFeature?.name}
{selectedFeature?.discussionsUrl !== undefined && (
}>
Give feedback
)}
{isSelectedFeatureEnabled && (
toggleFeature()}
tooltip={{
content: {
side: 'bottom',
className: 'max-w-64 text-center',
text: canDisableSelectedFeature
? undefined
: 'This feature is now the default and can no longer be turned off',
},
}}
>
Disable feature
)}
{!isSelectedFeatureEnabled && (
{hasRoute
? 'Enables the feature and takes you to where you can try it out'
: 'Enables this preview across the dashboard'}
)}
{FEATURE_PREVIEW_KEY_TO_CONTENT[selectedFeature?.key ?? '']}