UNPKG
@notdutzi/react-mosaic-component
Version:
latest (5.0.2)
5.0.2
5.0.1
5.0.0
A React Tiling Window Manager
github.com/dutzi/react-mosaic
dutzi/react-mosaic
@notdutzi/react-mosaic-component
/
lib
/
buttons
/
MosaicButton.d.ts
6 lines
(5 loc)
•
266 B
TypeScript
View Raw
1
2
3
4
5
6
import
React
from
'react'
;
export
declare
function
createDefaultToolbarButton
(
title
:
string
,
className
:
string
,
onClick
: (event: React.MouseEvent<
any
>) =>
any
,
text
?:
string
):
React
.
ReactElement
<
any
>;
export
interface
MosaicButtonProps
{
onClick
?:
() =>
void
; }