Skip to content

Commit

Permalink
[Storybook] Split button doc (#4515)
Browse files Browse the repository at this point in the history
* remove beta banners

* Change files

* fix lint

* fix lint
  • Loading branch information
dmceachernmsft authored and mgamis-msft committed May 1, 2024
1 parent f2a89eb commit 3cd7d35
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "none",
"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

0 comments on commit 3cd7d35

Please sign in to comment.