import styled from 'styled-components'; import { forwardRef } from 'react'; import { I18n } from './I18n'; import { I18nProps, LocalizerToken } from '../../types/Localizer'; const StyledI18nSubTextContainer = styled('div')` font-size: var(--font-size-md); line-height: 1.5; margin-bottom: var(--margins-lg); // TODO: we'd like the description to be on two lines instead of one when it is short. // setting the max-width depending on the text length is **not** the way to go. // We should set the width on the dialog itself, depending on what we display. max-width: '60ch'; padding-inline: var(--margins-lg); `; export const StyledI18nSubText = forwardRef>( ({ className, ...props }) => { return ( ); } );