// Test usage of the renamed widget
import React from 'react';

// Test the main import
import { InovaiWidget } from '../src';

// Test default import
import InovaiWidgetDefault from '../src';

// Test all other exports are still available
import {
  FeedbackButton,
  FeedbackModal,
  FeedbackForm,
  SurveyForm,
  SuccessMessage,
  FeedbackProvider,
  useFeedback,
  useThemeDetection,
  usePathMonitoring,
  useFeedbackApi,
  type FeedbackConfig,
  type FeedbackSubmission,
} from '../src';

export default function TestRenamedWidget() {
  return (
    <div>
      <h1>Testing Renamed Widget</h1>
      
      {/* Test named export */}
      <InovaiWidget
        siteKey="test-key"
        primaryColor="#f97316"
        position="bottom-right"
        onSubmit={(data) => console.log('Feedback:', data)}
      />
      
      {/* Test default export */}
      <InovaiWidgetDefault
        siteKey="test-key-2"
        primaryColor="#3b82f6"
        position="bottom-left"
      />
      
      {/* Test that all other components still work */}
      <FeedbackProvider config={{ siteKey: 'test-provider' }}>
        <div>
          <p>All exports are working correctly!</p>
        </div>
      </FeedbackProvider>
    </div>
  );
}
