NewNew
-
-```
-
-## Clickable Variant
-
-Use `onClick` prop to make the whole `Chip` clickable, this will also add appropriate styles to make `Chip` interactive.
-
-```jsx live
- console.log('Click!')}>Click Me
-```
-
-## With isSelected prop
-
-```jsx live
-New
+ New
+
```
## With Icon Before and After
-### Basic Usage
-
-Use `iconBefore` and `iconAfter` props to provide icons for the `Chip`, note that you also can provide
-accessible names for these icons for screen reader support via `iconBeforeAlt` and `iconAfterAlt` respectively.
-
-```jsx live
-
- Person
- Close
-
- Both
-
-
-```
-
-### Clickable icon variant
-
-Provide click handlers for icons via `onIconAfterClick` and `onIconBeforeClick` props.
-
-```jsx live
-
- console.log('onIconBeforeClick')}
- >
- Person
-
- console.log('onIconAfterClick')}
- iconAfterAlt="icon-after"
- >
- Close
-
- console.log('onIconAfterClick')}
- onIconBeforeClick={() => console.log('onIconBeforeClick')}
- iconAfterAlt="icon-after"
- iconBeforeAlt="icon-before"
- >
- Both
-
- console.log('onIconAfterClick')}
- onIconBeforeClick={() => console.log('onIconBeforeClick')}
- iconAfterAlt="icon-after"
- iconBeforeAlt="icon-before"
- disabled
- >
- Both
-
-
-```
-
-**Note**: both `Chip` and its icons cannot be made interactive at the same time, e.g. if you provide both `onClick` and `onIconAfterClick` props,
-`onClick` will be ignored and only the icon will get interactive behaviour, see example below (this is done to avoid usability issues where users might click on the `Chip` itself by mistake when they meant to click the icon instead).
-
-```jsx live
- console.log('onIconBeforeClick')}
- onClick={() => console.log('onClick')}
->
- Person
-
-```
-
-### Inverse Pallete
```jsx live
-
- New
+
+ New console.log('onIconAfterClick')}
- iconAfterAlt="icon-after"
+ onIconAfterClick={() => console.log('Remove Chip')}
>
- New 1
+ New
console.log('onIconAfterClick')}
- iconAfterAlt="icon-after"
+ onIconAfterClick={() => console.log('Remove Chip')}
disabled
>
New
-
+
```
diff --git a/src/Chip/__snapshots__/Chip.test.jsx.snap b/src/Chip/__snapshots__/Chip.test.jsx.snap
index ce2f964cc2..4b706e50db 100644
--- a/src/Chip/__snapshots__/Chip.test.jsx.snap
+++ b/src/Chip/__snapshots__/Chip.test.jsx.snap
@@ -1,21 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[` snapshots renders div with "button" role when onClick is provided 1`] = `
-