Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storybook] Split button doc #4515

Merged
merged 9 commits into from
Apr 30, 2024
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "none",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to remove this none type changelog

"area": "fix",
"workstream": "Storybook",
"comment": "Remove beta banners for device split buttons",
"packageName": "@azure/communication-react",
"email": "dmceachern@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Canvas, Description, Heading, Props, Source, Title } from '@storybook/a
import { Meta } from '@storybook/react/types-6-0';
import React, { useState } from 'react';

import { SingleLineBetaBanner } from '../../../BetaBanners/SingleLineBetaBanner';
import { COMPONENT_FOLDER_PREFIX } from '../../../constants';
import { controlsToAdd, defaultControlsCameras, hiddenControl } from '../../../controlsUtils';
import { CustomCameraButtonExample } from './snippets/Custom.snippet';
Expand Down Expand Up @@ -57,7 +56,6 @@ const getDocs: () => JSX.Element = () => {
</Canvas>

<Heading>Camera with device selection menu</Heading>
<SingleLineBetaBanner />
<Description>
`CameraButton` can be optionally rendered as a split button. The secondary button in this mode opens a menu
where users can select the camera to use. To render `CameraButton` in this mode, set the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Canvas, Description, Heading, Props, Source, Title } from '@storybook/a
import { Meta } from '@storybook/react/types-6-0';
import React, { useState } from 'react';

import { SingleLineBetaBanner } from '../../../BetaBanners/SingleLineBetaBanner';
import { COMPONENT_FOLDER_PREFIX } from '../../../constants';
import {
controlsToAdd,
Expand Down Expand Up @@ -62,7 +61,6 @@ const getDocs: () => JSX.Element = () => {
</Canvas>

<Heading>Microphone with device selection menu</Heading>
<SingleLineBetaBanner />
<Description>
`MicrophoneButton` can be optionally rendered as a split button. The secondary button in this mode opens a menu
where users can select the audio devices to use. To render `MicrophoneButton` in this mode, set the
Expand Down