Skip to content
Open
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
File renamed without changes.
25 changes: 25 additions & 0 deletions src/icons/flowTypes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { ReactElement } from 'react';

export interface Icon {
/** Class name for the icon */
className?: string;
/** A string describing the color for the icon */
color?: string;
/** A number specifying the height of the icon */
height?: number;
/** A string describing the icon if it's not purely decorative for accessibility */
title?: string | ReactElement;
/** A number specifying the width of the icon */
width?: number;
}

export interface TwoTonedIcon {
/** Class name for the icon */
className?: string;
/** A number specifying the height of the icon */
height?: number;
/** A string describing the icon if it's not purely decorative for accessibility */
title?: string | ReactElement;
/** A number specifying the width of the icon */
width?: number;
}
1 change: 0 additions & 1 deletion src/icons/general/__tests__/IconShield.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @flow
import * as React from 'react';
import { shallow } from 'enzyme';

Expand Down
1 change: 0 additions & 1 deletion src/icons/states/__tests__/UsersEmptyState.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @flow
import * as React from 'react';
import { shallow } from 'enzyme';
import UsersEmptyState from '../UsersEmptyState';
Expand Down
Loading