mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-20 21:31:32 +03:00
20 lines
421 B
TypeScript
20 lines
421 B
TypeScript
|
import React, { useCallback } from 'react';
|
||
|
import { Icon } from '@tlon/indigo-react';
|
||
|
|
||
|
export const InfoButton = () => {
|
||
|
const onInfoClick = useCallback(() => {
|
||
|
alert('To select text in the terminal, hold down the alt key.');
|
||
|
}, []);
|
||
|
|
||
|
return (
|
||
|
<>
|
||
|
<button className="info-btn" onClick={onInfoClick}>
|
||
|
<Icon
|
||
|
icon="Info"
|
||
|
size="18px"
|
||
|
/>
|
||
|
</button>
|
||
|
</>
|
||
|
);
|
||
|
};
|