react-code-dataset / wp-calypso /client /jetpack-cloud /sections /manage /pricing /pricing-need-more-info /index.tsx
| import { Button } from '@automattic/components'; | |
| import { localizeUrl } from '@automattic/i18n-utils'; | |
| import { useTranslate } from 'i18n-calypso'; | |
| import './style.scss'; | |
| export default function PricingNeedMoreInfo() { | |
| const translate = useTranslate(); | |
| const href = localizeUrl( 'http://jetpack.com/manage' ); | |
| return ( | |
| <div className="pricing-need-more-info"> | |
| <h2 className="pricing-need-more-info__headline">{ translate( 'Need more info?' ) }</h2> | |
| <Button href={ href }> | |
| { translate( 'Explore %(productName)s', { | |
| args: { | |
| productName: translate( 'Jetpack Manage' ), | |
| }, | |
| } ) } | |
| </Button> | |
| </div> | |
| ); | |
| } | |