0.2.0 • Published 8 months ago

@brighthr/component-usernote v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

UserNote

Installation

To install, type the following into the command line at the root of your project:

npm i @brighthr/component-usernote

Import

Import into your file:

import UserNote from '@brighthr/component-usernote';

Props

NameTypeDefaultDescription
noteTextstringThe text of the note
createdBystringThe name of the user who created the note
dateAddedstringThe date the note was added
onDelete() => voidCallback function for when the note is deleted.
avatarHrefstringThe href for the user's avatar.
jobTitlestringThe job title of the user who created the note.
isDeleteNoteDisabledbooleanfalseWhether the delete button should be disabled.
0.1.0

8 months ago

0.2.0

8 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

11 months ago

0.0.1

12 months ago