/*
 * Copyright (c) 2024, salesforce.com, inc.
 * All rights reserved.
 * SPDX-License-Identifier: BSD-3-Clause
 * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
 */

import React from 'react'
import {Heading} from '@chakra-ui/react'
import {useIntl} from 'react-intl'

export const StoreLocatorHeading = () => {
    const intl = useIntl()

    return (
        <>
            <Heading fontSize="2xl" marginBottom={6}>
                {intl.formatMessage({
                    id: 'store_locator.title',
                    defaultMessage: 'Find a Store'
                })}
            </Heading>
        </>
    )
}
