DocSpace-buildtools/packages/asc-web-components/room-logo
2022-07-04 04:57:58 +03:00
..
index.js Web:Components:RoomLogo: update classes 2022-07-04 04:57:58 +03:00
README.md Web:Components:RoomLogo: add checkbox 2022-07-03 08:24:46 +03:00
room-logo.stories.js Web:Components:RoomLogo: add checkbox 2022-07-03 08:24:46 +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 classes 2022-07-04 04:57:58 +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
withCheckbox boolean - - false Accepts checkbox when row/tile is hovered or checked
isChecked boolean - - false Accepts the checked state to checkbox
isIndeterminate boolean - - false Accepts the indeterminate state to checkbox
onChange function - - - Accepts the onChange checkbox callback function