Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmatrhd committed Oct 13, 2019
1 parent c7fa40b commit 269ce5d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/src/pages/components/buttons/SplitButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ export default function SplitButton() {
alert(`You clicked ${options[selectedIndex]}`);
};

const handleMenuItemClick = (event: React.MouseEvent<HTMLLIElement, MouseEvent>, index: number) => {
const handleMenuItemClick = (
event: React.MouseEvent<HTMLLIElement, MouseEvent>,
index: number,
) => {
setSelectedIndex(index);
setOpen(false);
};
Expand Down

0 comments on commit 269ce5d

Please sign in to comment.