mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
refactor(compiler): promote styles pipeline
This commit is contained in:
@@ -7,6 +7,7 @@ export interface ButtonOptions {
|
||||
|
||||
export interface ButtonProps {
|
||||
role: 'button';
|
||||
type: 'button';
|
||||
tabIndex: 0;
|
||||
onClick: (event: UIEvent) => void;
|
||||
onPointerDown: (event: UIEvent) => void;
|
||||
@@ -20,6 +21,7 @@ export function createButton(options: ButtonOptions): ButtonProps {
|
||||
|
||||
return {
|
||||
role: 'button',
|
||||
type: 'button',
|
||||
tabIndex: 0,
|
||||
|
||||
onClick(event) {
|
||||
|
||||
Reference in New Issue
Block a user