import React from 'react' import { type Meta, type StoryObj } from '@storybook/react-vite' import TranslationTools from './TranslationTools' import { DocsTemplate } from '../../../.storybook' import { LANGUAGES_TO_CHECK, RESOURCES } from '../../translations/Resources' const meta: Meta = { title: 'Translations/TranslationTools', component: TranslationTools, parameters: { layout: 'fullscreen', docs: { page: () => ( The TranslationTools component helps manage and display missing translations in multilingual applications. It provides tools for identifying missing translations, exporting data, and generating AI prompts for translation. } infoBullets={[ Use TranslationTools to streamline translation workflows and ensure all languages are properly localized. , Includes features like CSV export, AI prompt generation, and clipboard copy for missing translations. , ]} /> ), }, }, } export default meta type Story = StoryObj const Template: Story = { render: (args) => { return }, } export const LibraryTranslations: Story = { ...Template, args: { resources: RESOURCES, languagesToCheck: LANGUAGES_TO_CHECK as ( | 'es' | 'en' | 'fr' | 'pl' | 'zh' )[], hideReturnToAppButton: true, }, }