diff --git a/web/CommIcon.react.js b/web/CommIcon.react.js new file mode 100644 --- /dev/null +++ b/web/CommIcon.react.js @@ -0,0 +1,31 @@ +// @flow + +import * as React from 'react'; +import IcomoonReact from 'react-icomoon'; + +import iconSet from 'lib/shared/comm-icon-config.json'; + +export type CommIcons = + | 'cloud-filled' + | 'sidebar' + | 'sidebar-filled' + | 'reply' + | 'reply-filled' + | 'megaphone'; + +type CommIconProps = { + +icon: CommIcons, + +size: number | string, + +color?: string, + +title?: string, + +className?: string, + +disableFill?: boolean, + +removeInlineStyle?: boolean, + +style?: $Shape, +}; + +function CommIcon(props: CommIconProps): React.Node { + return ; +} + +export default CommIcon;