diff --git a/src/icon/star.tsx b/src/icon/star.tsx new file mode 100644 index 0000000000..e2e1bebb2d --- /dev/null +++ b/src/icon/star.tsx @@ -0,0 +1,43 @@ +/* +Copyright (c) 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. +*/ +// BASEUI-GENERATED-REACT-ICON +// DO NOT EDIT THIS FILE DIRECTLY, SEE README.md +import * as React from 'react'; +import { useStyletron } from '../styles'; +import { mergeOverride, toObjectOverride } from '../helpers/overrides'; +import Icon from './icon'; +import type { IconProps } from './types'; + +// @ts-ignore +function Star(props: IconProps, ref) { + const [, theme] = useStyletron(); + const { title = 'Star', size, color, overrides = {}, ...restProps } = props; + const SvgOverride = mergeOverride( + { + component: theme.icons && theme.icons.Star ? theme.icons.Star : null, + }, + overrides && overrides.Svg ? toObjectOverride(overrides.Svg) : {} + ); + return ( + + + + ); +} + +export default React.forwardRef(Star);