CreateTradingViewStyledButtonOptions
Interface
Properties
align
Alignment for the button.
Default
'left'
Type
"left" | "right"
onClick
OptionalA function called when the button is clicked.
Type
() => void
Type declaration
A function called when the button is clicked.
Signature
() => void
Returns
void
text
The text shown on the button.
Type
string
title
OptionalThe text shown on hovering the button.
Type
string
useTradingViewStyle
A button with the built-in styles will be created in the header.
Type
true