Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove default exports [P3] #13916

Merged
merged 1 commit into from
Jul 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const AcceptIcon = createSvgIcon({
export const AcceptIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<g>
Expand All @@ -20,5 +20,3 @@ const AcceptIcon = createSvgIcon({
),
displayName: 'AcceptIcon',
});

export default AcceptIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const AddIcon = createSvgIcon({
export const AddIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path
Expand All @@ -18,5 +18,3 @@ const AddIcon = createSvgIcon({
),
displayName: 'AddIcon',
});

export default AddIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const ApprovalsAppbarIcon = createSvgIcon({
export const ApprovalsAppbarIcon = createSvgIcon({
svg: ({ classes }) => (
<svg className={classes.svg} viewBox="8 8 16 16" role="presentation" focusable="false">
<g className={cx(iconClassNames.outline, classes.outlinePart)}>
Expand All @@ -18,5 +18,3 @@ const ApprovalsAppbarIcon = createSvgIcon({
),
displayName: 'ApprovalsAppbarIcon',
});

export default ApprovalsAppbarIcon;
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';

const ArrowDownIcon = createSvgIcon({
export const ArrowDownIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path d="M15.9 22.9l4-4c.2-.2.2-.5 0-.7s-.5-.2-.7 0L16 21.3V9.5c0-.3-.2-.5-.5-.5s-.5.2-.5.5v11.8l-3.1-3.1c-.2-.2-.5-.2-.7 0-.2 0-.2.2-.2.3s0 .3.1.4l4 4c.2.1.6.1.8 0z" />
</svg>
),
displayName: 'ArrowDownIcon',
});

export default ArrowDownIcon;
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';

const ArrowLeftIcon = createSvgIcon({
export const ArrowLeftIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path d="M9.1 15.9l4 4c.2.2.5.2.7 0s.2-.5 0-.7L10.7 16h11.8c.3 0 .5-.2.5-.5s-.2-.5-.5-.5H10.7l3.1-3.1c.2-.2.2-.5 0-.7 0-.2-.2-.2-.3-.2s-.3 0-.4.1l-4 4c-.1.2-.1.6 0 .8z" />
</svg>
),
displayName: 'ArrowLeftIcon',
});

export default ArrowLeftIcon;
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';

const ArrowRightIcon = createSvgIcon({
export const ArrowRightIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path d="M22.9 15.1l-4-4c-.2-.2-.5-.2-.7 0s-.2.5 0 .7l3.1 3.1H9.5c-.3.1-.5.3-.5.6s.2.5.5.5h11.8l-3.1 3.1c-.2.2-.2.5 0 .7.1.1.2.1.4.1s.3 0 .4-.1l4-4c0-.1 0-.5-.1-.7z" />
</svg>
),
displayName: 'ArrowRightIcon',
});

export default ArrowRightIcon;
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';

const ArrowUpIcon = createSvgIcon({
export const ArrowUpIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path d="M15.2 9.1l-4 4c-.2.2-.2.5 0 .7s.5.2.7 0l3.2-3.1v11.8c0 .3.2.5.5.5s.5-.2.5-.5V10.7l3.1 3.1c.2.2.5.2.7 0 .2 0 .2-.2.2-.3s0-.3-.1-.4l-4-4c-.2-.1-.6-.1-.8 0z" />
</svg>
),
displayName: 'ArrowUpIcon',
});

export default ArrowUpIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const AttendeeIcon = createSvgIcon({
export const AttendeeIcon = createSvgIcon({
svg: ({ classes }) => (
<svg className={classes.svg} viewBox="8 8 16 16" role="presentation" focusable="false">
<path
Expand All @@ -18,5 +18,3 @@ const AttendeeIcon = createSvgIcon({
),
displayName: 'AttendeeIcon',
});

export default AttendeeIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const AudienceIcon = createSvgIcon({
export const AudienceIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path
Expand All @@ -18,5 +18,3 @@ const AudienceIcon = createSvgIcon({
),
displayName: 'AudienceIcon',
});

export default AudienceIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const AudioLoadingIcon = createSvgIcon({
export const AudioLoadingIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 18 16" className={classes.svg}>
<path
Expand All @@ -18,5 +18,3 @@ const AudioLoadingIcon = createSvgIcon({
),
displayName: 'AudioLoadingIcon',
});

export default AudioLoadingIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const AudioOffIcon = createSvgIcon({
export const AudioOffIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path
Expand All @@ -18,5 +18,3 @@ const AudioOffIcon = createSvgIcon({
),
displayName: 'AudioOffIcon',
});

export default AudioOffIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const BanIcon = createSvgIcon({
export const BanIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path
Expand All @@ -18,5 +18,3 @@ const BanIcon = createSvgIcon({
),
displayName: 'BanIcon',
});

export default BanIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const BellIcon = createSvgIcon({
export const BellIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path
Expand All @@ -18,5 +18,3 @@ const BellIcon = createSvgIcon({
),
displayName: 'BellIcon',
});

export default BellIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const BellSlashIcon = createSvgIcon({
export const BellSlashIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path
Expand All @@ -18,5 +18,3 @@ const BellSlashIcon = createSvgIcon({
),
displayName: 'BellSlashIcon',
});

export default BellSlashIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import cx from 'classnames';
import { iconClassNames } from '../utils/iconClassNames';

const BellSnoozeIcon = createSvgIcon({
export const BellSnoozeIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<g>
Expand All @@ -20,5 +20,3 @@ const BellSnoozeIcon = createSvgIcon({
),
displayName: 'BellSnoozeIcon',
});

export default BellSnoozeIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const BoldIcon = createSvgIcon({
export const BoldIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<g>
Expand All @@ -20,5 +20,3 @@ const BoldIcon = createSvgIcon({
),
displayName: 'BoldIcon',
});

export default BoldIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const BookmarkIcon = createSvgIcon({
export const BookmarkIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path
Expand All @@ -18,5 +18,3 @@ const BookmarkIcon = createSvgIcon({
),
displayName: 'BookmarkIcon',
});

export default BookmarkIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const BroadcastIcon = createSvgIcon({
export const BroadcastIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="0 0 48 48" className={classes.svg}>
<g>
Expand All @@ -20,5 +20,3 @@ const BroadcastIcon = createSvgIcon({
),
displayName: 'BroadcastIcon',
});

export default BroadcastIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const BroadcastViewFullscreenIcon = createSvgIcon({
export const BroadcastViewFullscreenIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path
Expand All @@ -18,5 +18,3 @@ const BroadcastViewFullscreenIcon = createSvgIcon({
),
displayName: 'BroadcastViewFullscreenIcon',
});

export default BroadcastViewFullscreenIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const BroadcastViewLeftIcon = createSvgIcon({
export const BroadcastViewLeftIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path
Expand All @@ -18,5 +18,3 @@ const BroadcastViewLeftIcon = createSvgIcon({
),
displayName: 'BroadcastViewLeftIcon',
});

export default BroadcastViewLeftIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const BulletsIcon = createSvgIcon({
export const BulletsIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svgFlippingInRtl}>
<g>
Expand All @@ -24,5 +24,3 @@ const BulletsIcon = createSvgIcon({
),
displayName: 'BulletsIcon',
});

export default BulletsIcon;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import cx from 'classnames';
import createSvgIcon from '../utils/createSvgIcon';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

const CalendarIcon = createSvgIcon({
export const CalendarIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<g>
Expand All @@ -24,5 +24,3 @@ const CalendarIcon = createSvgIcon({
),
displayName: 'CalendarIcon',
});

export default CalendarIcon;
Loading