Skip to content

Commit

Permalink
chore(Datagrid): remove warning about drag and drop rework (carbon-de…
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewgallo authored Oct 4, 2023
1 parent 4b94fa8 commit b95c73b
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 b95c73b

Please sign in to comment.