21 lines
544 B
TypeScript
21 lines
544 B
TypeScript
import IProfile from "../../../../types/profile";
|
|
import SafetySetting from "../SafetySetting/SafetySetting";
|
|
import ThemeSetting from "../ThemeSetting/ThemeSetting";
|
|
import UserInfoSetting from "../UserInfoSetting/UserInfoSetting";
|
|
|
|
interface IProfileSettingProps {
|
|
profile: IProfile;
|
|
}
|
|
|
|
const ProfileSetting = ({ profile }: IProfileSettingProps) => {
|
|
return (
|
|
<div className="flex flex-col">
|
|
<UserInfoSetting profile={profile} />
|
|
<ThemeSetting />
|
|
<SafetySetting />
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default ProfileSetting;
|