DocSpace-client/packages/components/room-logo
2023-05-24 19:48:30 +05:00
..
index.js Web: Components: fixed room logo selector for story 2023-04-19 17:58:19 +05:00
README.md Web: Moved all clients app to packages directory 2022-07-22 22:01:25 +03:00
room-logo.stories.js Web: Components: fixed storybook selector text 2023-05-24 19:48:30 +05:00
room-logo.test.js Web: Moved all clients app to packages directory 2022-07-22 22:01:25 +03:00
styled-room-logo.js Web:Components:RoomLogo: fix 2023-01-16 18:42:48 +03:00

Room logo

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

Usage

import RoomLogo from "@docspace/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