// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import React, { forwardRef } from 'react'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { IconProp } from '@fortawesome/fontawesome-svg-core'; interface Props { icon: IconProp; id?: string disabled?: boolean; onClick?: () => void; ref?: React.Ref; } const IconButton: React.FC = forwardRef( ( props: Props, ref?: React.Ref) => { const { icon, ...rest } = props; return ( ); } ); export default IconButton;