Skip to content

Commit

Permalink
chore(Datagrid): remove warning about drag and drop rework
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewgallo committed Oct 4, 2023
1 parent 9df5e1d commit 6ad9237
Showing 1 changed file with 0 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import React, { useState } from 'react';
import { Checkmark, Edit, TrashCan } from '@carbon/react/icons';
import { ActionableNotification } from '@carbon/react';
import { action } from '@storybook/addon-actions';
import {
getStoryTitle,
Expand Down Expand Up @@ -51,36 +50,6 @@ export default {
},
};

const CustomizeColRework = () => (
<ActionableNotification
className="preview__notification--feature-flag"
kind="warning"
inline
lowContrast
actionButtonLabel="Learn more"
statusIconDescription="Close icon button"
title={
<>
This extension is currently being reworked after{' '}
<CodeSnippet type="inline" hideCopyButton>
2.8.1
</CodeSnippet>
</>
}
onActionButtonClick={() => {
window.open(
'https://github.com/carbon-design-system/ibm-products/issues/3446'
);
}}
>
Support will be added back shortly and can be tracked{' '}
<a href="https://github.com/carbon-design-system/ibm-products/issues/3446">
here
</a>
.
</ActionableNotification>
);

const blockClass = `${pkg.prefix}--datagrid`;

const defaultHeader = [
Expand Down Expand Up @@ -247,7 +216,6 @@ const ColumnCustomizationUsage = ({ ...args }) => {

return (
<>
<CustomizeColRework />
<Datagrid datagridState={datagridState} />
<div className={`${blockClass}-story__hidden-column-id-snippet`}>
<p>Hidden column ids:</p>
Expand Down Expand Up @@ -362,7 +330,6 @@ const ColumnCustomizationWithFixedColumn = ({ ...args }) => {

return (
<>
<CustomizeColRework />
<Datagrid datagridState={datagridState} />
<div className={`${blockClass}-story__hidden-column-id-snippet`}>
<p>Hidden column ids:</p>
Expand Down

0 comments on commit 6ad9237

Please sign in to comment.