mirror of
https://github.com/artegoser/AnoPaper.git
synced 2024-11-25 05:16:21 +03:00
feat: title
This commit is contained in:
parent
dfd29afdc5
commit
77ece82c9a
2 changed files with 7 additions and 1 deletions
|
@ -7,8 +7,13 @@ function CheckBox(props) {
|
|||
id={props.id}
|
||||
defaultChecked={props.checked}
|
||||
onClick={props.onClick}
|
||||
title={props.title}
|
||||
/>
|
||||
<label className="form-check-label inline-block" htmlFor={props.id}>
|
||||
<label
|
||||
title={props.title}
|
||||
className="form-check-label inline-block"
|
||||
htmlFor={props.id}
|
||||
>
|
||||
{props.label}
|
||||
</label>
|
||||
</div>
|
||||
|
|
|
@ -62,6 +62,7 @@ function CreateNote() {
|
|||
<CheckBox
|
||||
className="justify-self-center lg:justify-self-start"
|
||||
label="Публичная заметка"
|
||||
title="Если включено, то заметка будет видна всем пользователям"
|
||||
id="public"
|
||||
onClick={() => {
|
||||
setPublicState(!publicState);
|
||||
|
|
Loading…
Add table
Reference in a new issue