// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {Text} from '@astryxdesign/core/Text'; import {Stack} from '@astryxdesign/core/Stack'; const WEIGHTS = [ {weight: 'normal' as const, label: 'Normal'}, {weight: 'medium' as const, label: 'Medium'}, {weight: 'semibold' as const, label: 'Semibold'}, {weight: 'bold' as const, label: 'Bold'}, ]; export default function TextWeight() { return ( {WEIGHTS.map(({weight, label}) => ( {label} ))} ); }