Skip to content

Commit

Permalink
docs(react-color-picker): added subcomponents (#33416)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinaKozlova authored Dec 6, 2024
1 parent e62436b commit a9535f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.0",
"private": true,
"devDependencies": {
"@ctrl/tinycolor": "3.3.4",
"@fluentui/react-components": "*",
"@fluentui/react-color-picker-preview": "*",
"@fluentui/react-storybook-addon": "*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ColorPicker } from '@fluentui/react-color-picker-preview';
import { ColorPicker, ColorArea, ColorSlider, AlphaSlider } from '@fluentui/react-color-picker-preview';

import descriptionMd from './ColorPickerDescription.md';
import bestPracticesMd from './ColorPickerBestPractices.md';
Expand All @@ -12,6 +12,11 @@ export { AlphaSliderExample } from './AlphaSliderDefault.stories';
export default {
title: 'Preview Components/ColorPicker',
component: ColorPicker,
subcomponents: {
ColorArea,
ColorSlider,
AlphaSlider,
},
parameters: {
docs: {
description: {
Expand Down

0 comments on commit a9535f5

Please sign in to comment.