@grafana/ui
Version:
Grafana Components Library
1 lines • 1.29 kB
Source Map (JSON)
{"version":3,"file":"IndicatorsContainer.mjs","sources":["../../../../src/components/Select/IndicatorsContainer.tsx"],"sourcesContent":["import { cx, css } from '@emotion/css';\nimport { forwardRef } from 'react';\n\nimport { useTheme2 } from '../../themes/ThemeContext';\nimport { getInputStyles } from '../Input/Input';\n\nexport const IndicatorsContainer = forwardRef<HTMLDivElement, React.PropsWithChildren>((props, ref) => {\n const { children } = props;\n const theme = useTheme2();\n const styles = getInputStyles({ theme, invalid: false });\n\n return (\n <div\n className={cx(\n styles.suffix,\n css({\n position: 'relative',\n })\n )}\n ref={ref}\n >\n {children}\n </div>\n );\n});\n\nIndicatorsContainer.displayName = 'IndicatorsContainer';\n"],"names":[],"mappings":";;;;;;;AAMO,MAAM,mBAAA,GAAsB,UAAA,CAAoD,CAAC,KAAA,EAAO,GAAA,KAAQ;AACrG,EAAA,MAAM,EAAE,UAAS,GAAI,KAAA;AACrB,EAAA,MAAM,QAAQ,SAAA,EAAU;AACxB,EAAA,MAAM,SAAS,cAAA,CAAe,EAAE,KAAA,EAAO,OAAA,EAAS,OAAO,CAAA;AAEvD,EAAA,uBACE,GAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,SAAA,EAAW,EAAA;AAAA,QACT,MAAA,CAAO,MAAA;AAAA,QACP,GAAA,CAAI;AAAA,UACF,QAAA,EAAU;AAAA,SACX;AAAA,OACH;AAAA,MACA,GAAA;AAAA,MAEC;AAAA;AAAA,GACH;AAEJ,CAAC;AAED,mBAAA,CAAoB,WAAA,GAAc,qBAAA;;;;"}