import React from "react"; import {Col, Row} from "antd"; import * as Setting from "../Setting"; class SamlWidget extends React.Component { constructor(props) { super(props); this.state = { classes: props, addressOptions: [], affiliationOptions: [], }; } renderIdp(user, application, providerItem) { const provider = providerItem.provider; const name = user.name; return ( { Setting.getProviderLogo(provider) } { `${provider.type}:` } {name} ); } render() { return this.renderIdp(this.props.user, this.props.application, this.props.providerItem); } } export default SamlWidget;