Skip to content

Commit 2eb5b89

Browse files
committed
update jsdc comments
1 parent 4b2ef36 commit 2eb5b89

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Shared/Components/ButtonWithSelector/ButtonWithSelector.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ import './buttonWithSelector.scss'
1212
*
1313
* @example
1414
* ```tsx
15-
* <ButtonWithSelector buttonContent='Create Job' buttonClickHandler={() => {}} children={<>dropdownOptions</>} />
15+
* <ButtonWithSelector buttonContent='Create Job' buttonClickHandler={() => {}}>
16+
* {dropdownOptions}
17+
* </ButtonWithSelector>
1618
* ```
1719
*/
1820
const ButtonWithSelector = ({ content, onClick, children }: ButtonWithSelectorProps) => {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.button-with-selector {
22
&:hover, &:active, &:focus {
3-
border: 1px solid var(--N200)
3+
border: 1px solid var(--N200);
44
}
55
}

0 commit comments

Comments
 (0)