Skip to content

Commit

Permalink
Merge pull request #1150 from kufu/deprecate-compact-information-panel
Browse files Browse the repository at this point in the history
CompactInformationPanelを非推奨にする
  • Loading branch information
versionfive committed May 9, 2024
2 parents 8ed64c1 + 0c3d8b8 commit 7be09e8
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions content/articles/products/components/compact-information-panel.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
---
title: 'CompactInformationPanel'
description: ''
title: 'CompactInformationPanel(非推奨)'
description: "ユーザーに情報を伝えるために、他の要素より視覚的に目立たせるためのInformationPanelよりもコンパクトなコンポーネントです。NotificationBar[base='base']で代替が可能になったため非推奨です。"
---
import { ComponentStory } from '@Components/ComponentStory'
import { ComponentPropsTable } from '@Components/ComponentPropsTable'
import { BaseColumn, WarningIcon } from 'smarthr-ui'

<BaseColumn>
<WarningIcon text={
<span>
CompactInformationPanelは非推奨です。<a href="/products/components/notification-bar/">NotificationBar[base="base"]</a>を利用してください。
</span>}
/>
</BaseColumn>

ユーザーに情報を伝えるために、他の要素より視覚的に目立たせるための[InformationPanel](/products/components/information-panel/)よりもコンパクトなコンポーネントです。
InformationPanelとは異なり、パネルを閉じることはできません。

伝えたい情報の種類によってアイコンを切り替えて使います。

<ComponentStory name="CompactInformationPanel" />

Expand Down

0 comments on commit 7be09e8

Please sign in to comment.