/** * External dependencies */ import clsx from 'clsx'; /** * Internal dependencies */ import { CharCounter } from '../char-counter'; import { useDoesActiveNetworkSupport } from '../../hooks'; export type CharCounterWrapperProps = { readonly disabled?: boolean; }; export const CharCounterWrapper = ( { disabled, }: CharCounterWrapperProps ): JSX.Element | null => useDoesActiveNetworkSupport( 'text' ) ? (
) : null;