import { NavLink } from 'react-router-dom'; import type { MastodonLocationDescriptor } from 'mastodon/components/router'; import classes from './styles.module.scss'; interface WrapperProps { children: React.ReactNode; } export const NumberFields: React.FC = ({ children }) => { return ; }; interface ItemProps { label: React.ReactNode; hint?: string; link?: MastodonLocationDescriptor; children: React.ReactNode; } export const NumberFieldsItem: React.FC = ({ label, hint, link, children, }) => { return (
  • {label} {link ? ( {children} ) : ( {children} )}
  • ); };