{"version":3,"file":"Divider--_6CBOQr.js","sources":["../../Client/legacy/Components/Divider.tsx"],"sourcesContent":["import * as React from 'react';\r\n\r\ninterface IDividerProps {\r\n    /** Optional, displays a label over the divider */\r\n    label?: string | JSX.Element;\r\n    /** Optional className */\r\n    className?: string;\r\n    /** Optional, specify white or gray background */\r\n    onWhite?: boolean;\r\n}\r\n\r\nexport default class Divider extends React.Component<IDividerProps, {}> {\r\n    render() {\r\n        return (\r\n            <div className={`divider-cp ${this.props.className ? this.props.className : ''}`}>\r\n                {this.props.label ?\r\n                    <p className={`divider-label-cp ${this.props.onWhite ? 'on-white-cp' : ''}`}>{this.props.label}</p>\r\n                :   null}\r\n            </div>\r\n        );\r\n    }\r\n}\r\n"],"names":["Divider","React.Component","jsx"],"mappings":"+CAWqB,MAAAA,UAAgBC,EAAAA,SAAmC,CACpE,QAAS,CACL,OACKC,EAAAA,IAAA,MAAA,CAAI,UAAW,cAAc,KAAK,MAAM,UAAY,KAAK,MAAM,UAAY,EAAE,GACzE,SAAK,KAAA,MAAM,MACRA,EAAAA,IAAC,IAAE,CAAA,UAAW,oBAAoB,KAAK,MAAM,QAAU,cAAgB,EAAE,GAAK,SAAA,KAAK,MAAM,KAAM,CAAA,EAC/F,KACR,CAAA,CAGZ"}