interface UserNameProps {
    isOp?: boolean;
    linkStyle?: UserLinkStyle;
    mark?: number;
    name: string;
}

Properties

isOp?: boolean
linkStyle?: UserLinkStyle

Undefined means no link. Otherwise, the link style.

mark?: number

We use a number instead of api.UserMark because we don't want to pull in API types into the dependencies of this component.

name: string

We use a string instead of api.UserName because we don't want to pull in API types into the dependencies of this component.