main
js 20 lines 457 Bytes
Raw
1 /**
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 * @flow
8 */
9
10 import * as React from 'react';
11
12 import styles from './ButtonLabel.css';
13
14 type Props = {
15 children: React$Node,
16 };
17
18 export default function ButtonLabel({children}: Props): React.Node {
19 return <span className={styles.ButtonLabel}>{children}</span>;
20 }