/* Copyright (c) 2018-2020 Uber Technologies, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ // @flow // BASEUI-GENERATED-REACT-ICON // DO NOT EDIT THIS FILE DIRECTLY, SEE README.md import * as React from 'react'; import {useStyletron} from '../styles/index.js'; import {mergeOverride, toObjectOverride} from '../helpers/overrides.js'; import Icon from './icon.js'; import type {IconPropsT} from './types.js'; function Hide(props: IconPropsT, ref) { const [, theme] = useStyletron(); const {title = 'Hide', size, color, overrides = {}, ...restProps} = props; const SvgOverride = mergeOverride( // Icons from the theme target the SVG override in the underlying Icon component { component: theme.icons && theme.icons.Hide ? theme.icons.Hide : null, }, overrides && overrides.Svg ? toObjectOverride(overrides.Svg) : {}, ); return ( ); } export default React.forwardRef(Hide); declare var __DEV__: boolean; declare var __NODE__: boolean; declare var __BROWSER__: boolean;