import {
  render,
  Icon,
  Pressable,
  Tooltip,
} from '@shopify/checkout-ui-extensions-react';

render('Checkout::Dynamic::Render', () => <Extension />);

function Extension() {
  return (
    <Pressable
      overlay={
        <Tooltip>In case we need to contact you about your order</Tooltip>
      }
    >
      <Icon source="questionFill" />
    </Pressable>
  );
}
