DocSpace-buildtools/packages/asc-web-components/room-logo
2022-06-26 12:43:08 +03:00
..
index.js Web:Components:RoomLogo: update room logo types and move archive type to isArchive prop 2022-06-26 12:43:08 +03:00
README.md Web:Components:RoomLogo: update room logo types and move archive type to isArchive prop 2022-06-26 12:43:08 +03:00
room-logo.stories.js Web:Components:RoomLogo: update room logo types and move archive type to isArchive prop 2022-06-26 12:43:08 +03:00
room-logo.test.js Web:Components:RoomLogo: update room logo types and move archive type to isArchive prop 2022-06-26 12:43:08 +03:00
styled-room-logo.js Web:Components:RoomLogo: update room logo types and move archive type to isArchive prop 2022-06-26 12:43:08 +03:00

Room logo

Room logo allow you display default room logo depend on type and private

Usage

import RoomLogo from "@appserver/components/room-logo";
<RoomLogo type={"custom"} isPrivacy={false} isArchive={false} />
Props Type Required Values Default Description
id string - - - Accepts id
className string - - - Accepts class
style obj, array - - - Accepts css style
type number - - `` Accepts the type of room
isPrivacy boolean - - false Accepts the privacy room
isArchive boolean - - false Accepts the archive room