Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,13 @@ export function AnalyticsToggle( { value, onChange }: AnalyticsToggleProps ) {
const { __ } = useI18n();

return (
<div className="flex flex-col gap-1">
<CheckboxControl
__nextHasNoMarginBottom
id="analytics-toggle"
className="[&_.components-checkbox-control__label]:font-semibold [&_.components-checkbox-control__label]:text-frame-text"
label={ __( 'Help improve Studio by sharing anonymous usage statistics' ) }
checked={ value }
onChange={ onChange }
/>
<div className="a8c-body-small text-frame-text-secondary ml-7">
{ __(
'Anonymous usage data helps us understand how Studio is used so we can improve it. No personally identifiable information is collected.'
) }
</div>
</div>
<CheckboxControl
__nextHasNoMarginBottom
id="analytics-toggle"
className="pl-4 [&_.components-checkbox-control__label]:font-semibold [&_.components-checkbox-control__label]:text-frame-text"
label={ __( 'Help improve Studio by sharing anonymous usage statistics' ) }
checked={ value }
onChange={ onChange }
/>
);
}
Loading