From eed02b90ec7c335254a347bac55a465f1ee8369e Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Thu, 19 Jan 2023 23:56:09 +0100 Subject: [PATCH] update sidebar border --- .../components/src/sidebar/sidebar.stories.tsx | 14 +++++++------- packages/components/src/sidebar/sidebar.tsx | 10 ++++++++-- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/packages/components/src/sidebar/sidebar.stories.tsx b/packages/components/src/sidebar/sidebar.stories.tsx index 30be4597..8f9206cd 100644 --- a/packages/components/src/sidebar/sidebar.stories.tsx +++ b/packages/components/src/sidebar/sidebar.stories.tsx @@ -4,8 +4,15 @@ import type { Meta, StoryObj } from '@storybook/react' // More on how to set up stories at: https://storybook.js.org/docs/7.0/react/writing-stories/introduction const meta: Meta = { + title: 'Sidebar/Community', component: Sidebar, argTypes: {}, + parameters: { + design: { + type: 'figma', + url: 'https://www.figma.com/file/IBmFKgGL1B4GzqD8LQTw6n/Design-System-for-Web?node-id=14692%3A148489&t=NfQkS7CPSrZknAGF-4', + }, + }, } type Story = StoryObj @@ -20,11 +27,4 @@ export const Default: Story = { }, } -Default.parameters = { - design: { - type: 'figma', - url: 'https://www.figma.com/file/IBmFKgGL1B4GzqD8LQTw6n/Design-System-for-Web?node-id=14692%3A148489&t=NfQkS7CPSrZknAGF-4', - }, -} - export default meta diff --git a/packages/components/src/sidebar/sidebar.tsx b/packages/components/src/sidebar/sidebar.tsx index 2bb83a52..3ca6ff91 100644 --- a/packages/components/src/sidebar/sidebar.tsx +++ b/packages/components/src/sidebar/sidebar.tsx @@ -56,9 +56,15 @@ const Sidebar = (props: Props) => { } return ( - +