packages/storybook8/stories/Components/StartCaptionsButton/index.stories.tsx (16 lines of code) (raw):
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { StartCaptionsButton } from '@azure/communication-react';
import { Meta } from '@storybook/react';
import { hiddenControl } from '../../controlsUtils';
export { StartCaptionsButton } from './StartCaptionsButton.story';
const meta: Meta = {
title: 'Components/Start Captions Button',
component: StartCaptionsButton,
argTypes: {
onStartCaptions: hiddenControl,
onStopCaptions: hiddenControl,
onSetSpokenLanguage: hiddenControl,
currentSpokenLanguage: hiddenControl,
checked: hiddenControl
}
};
export default meta;