// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {InfoTip} from '@astryxdesign/core/InfoTip'; import {HStack, VStack} from '@astryxdesign/core/Stack'; import {Text} from '@astryxdesign/core/Text'; const metrics = [ { name: 'Active users', value: '48,210', definition: 'People who opened the app at least once in the last 28 days.', }, { name: 'Retention', value: '62%', definition: 'Share of last month’s active users who returned this month.', }, { name: 'Median session', value: '6m 40s', definition: 'Half of all sessions this week were shorter than this.', }, ]; export default function InfoTipMetricDefinitions() { return ( {metrics.map(metric => ( {metric.name} {metric.value} ))} ); }