/** * This is a generated file. Do not modify it manually. * * @script packages/icon/scripts/prebuild/index.ts * @checksum ff34b63a3b354a28d71e15f1510e4611 */ import * as React from "react"; import { css, cx } from '@leafygreen-ui/emotion'; import { useIdAllocator } from '@leafygreen-ui/hooks'; import { generateAccessibleProps, sizeMap } from '../glyphCommon'; import { LGGlyph } from '../types'; export interface TimeSeriesCollectionProps extends LGGlyph.ComponentProps {} const TimeSeriesCollection = ({ className, size = 16, title, ['aria-label']: ariaLabel, ['aria-labelledby']: ariaLabelledby, fill, role = 'img', ...props }: TimeSeriesCollectionProps) => { const titleId = useIdAllocator({ prefix: 'icon-title' }); const fillStyle = css` color: ${fill}; `; const noFlexShrink = css` flex-shrink: 0; `; const accessibleProps = generateAccessibleProps(role, 'TimeSeriesCollection', { title, titleId, ['aria-label']: ariaLabel, ['aria-labelledby']: ariaLabelledby }); return {title && {title}}; }; TimeSeriesCollection.displayName = 'TimeSeriesCollection'; TimeSeriesCollection.isGlyph = true; export default TimeSeriesCollection;