import { h } from './chunks/d4789960.js';
import './chunks/456564be.js';
import { u as useProp } from './chunks/c26036df.js';
import './chunks/4ccc6eeb.js';
import { g as getComponentOrDefine } from './chunks/071ed725.js';
import './chunks/23e44913.js';
import { O as Option } from './chunks/a02c5734.js';
import './chunks/d76d6172.js';
import './kun-icon.js';
import './chunks/cd857e99.js';
import './kun-image-or-default.js';
import './chunks/e5702756.js';
import './kun-image.js';
import { g as getKunImageUrl } from './chunks/8c68f334.js';

var style = ":host {\n}\n";

const KunSeriesMember = () => {
  const [userName] = useProp("userName");
  const [userAvatar] = useProp("userAvatar");
  const userNameChecked = Option.of(userName).getOrElse("用户");
  return h("host", null, h("style", null, style), h("div", {
    class: "flex justify-start my-4 items-center"
  }, h("kun-image-or-default", {
    class: "mr-4",
    url: getKunImageUrl(userAvatar),
    width: 65,
    height: 65
  }), h("div", {
    class: "flex flex-col justify-start self-start mt-4"
  }, userNameChecked)));
};

KunSeriesMember.props = {
  userName: {
    type: String
  },
  userAvatar: {
    type: String
  }
};
var kunSeriesMember = getComponentOrDefine("kun-series-member", KunSeriesMember);

export default kunSeriesMember;
//# sourceMappingURL=kun-series-member.js.map
