Chore: Remove deprecated surface prop from IconButton (#49715)

* Chore: Remove deprecated `surface` prop from IconButton

* Update component docs
This commit is contained in:
kay delaney
2022-05-27 01:00:57 +01:00
committed by GitHub
parent e9e2ad6bee
commit 3d8eda0132
14 changed files with 11 additions and 51 deletions
@@ -144,7 +144,6 @@ const DraggableFieldName: React.FC<DraggableFieldProps> = ({
className={styles.toggle}
size="md"
name={visible ? 'eye' : 'eye-slash'}
surface="header"
onClick={() => onToggleVisibility(fieldName, visible)}
/>
<span className={styles.name} title={fieldName}>