Skip to content

Commit 31b041b

Browse files
committed
add note about inverted state
1 parent 16b347c commit 31b041b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/main/src/components/ObjectStatus/ObjectStatus.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import * as ComponentStories from './ObjectStatus.stories';
4444

4545
**Applicable since v2.17.0**
4646

47-
When used in interactive lists or tables, you can override the text and icon `color` and `text-shadow` to comply with design specs.
47+
When a normal (non-inverted) `ObjectStatus` is used in interactive lists or tables, you can override the text and icon `color` and `text-shadow` to comply with design specs.
4848

4949
```css
5050
.object-status {

packages/main/src/components/ObjectStatus/ObjectStatus.stories.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ export const InvertedObjectStatus: Story = {
152152
const atData = [{ os1: 'ObjectStatus', os2: 'ObjectStatus' }];
153153

154154
export const InListOrTable: Story = {
155-
args: { state: 'Positive' },
155+
args: { state: 'Positive', inverted: false },
156+
argTypes: { inverted: { control: false, table: { disable: false } } },
156157
render(args) {
157158
const atCols: AnalyticalTableColumnDefinition[] = useMemo(
158159
() => [

0 commit comments

Comments
 (0)