src/components/ui/icons/Microphone/Microphone.stories.tsx (7 lines of code) (raw):
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
import Microphone from '.';
export default {
title: 'UI Components/Icons/Microphone',
component: Microphone,
};
export const _Microphone = (args) => <Microphone {...args} />;
_Microphone.argTypes = {
width: { control: 'text' },
poorConnection: { control: 'boolean' },
muted: { control: 'boolean' },
mutedTitle: { control: 'text' },
unmutedTitle: { control: 'text' },
};
_Microphone.args = {
width: '2rem',
poorConnection: false,
muted: false,
mutedTitle: 'Muted microphone',
unmutedTitle: 'Microphone',
};
_Microphone.story = {
name: 'Microphone',
};