@wordpress/global-styles-ui
Version:
Global Styles UI components for WordPress.
1 lines • 792 B
Source Map (JSON)
{"version":3,"file":"color-indicator-wrapper.cjs","names":[],"sources":["../src/color-indicator-wrapper.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport type { ReactNode } from 'react';\n\ninterface ColorIndicatorWrapperProps {\n\tclassName?: string;\n\tchildren?: ReactNode;\n}\n\nfunction ColorIndicatorWrapper( {\n\tclassName,\n\tchildren,\n}: ColorIndicatorWrapperProps ) {\n\treturn (\n\t\t<div\n\t\t\tclassName={ clsx(\n\t\t\t\t'global-styles-ui__color-indicator-wrapper',\n\t\t\t\tclassName\n\t\t\t) }\n\t\t>\n\t\t\t{ children }\n\t\t</div>\n\t);\n}\n\nexport default ColorIndicatorWrapper;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,sBAAuB,EAC/B,WACA,YAC+B;CAC/B,OACC,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EACC,YAAA,GAAY,KAAA,QAAA,CACX,6CACA,SACD;EAEE;CACE,CAAA;AAEP"}