From 0ffc911198183b5ace6764974fbf4927e131f81d Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Mon, 23 Oct 2017 17:59:00 -0400 Subject: [PATCH] refactor(components): rename functions for consistency and use typings --- packages/core/src/components/alert/alert.tsx | 6 +++--- packages/core/src/components/fab/fab-list.tsx | 3 ++- packages/core/src/components/fab/fab.tsx | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/core/src/components/alert/alert.tsx b/packages/core/src/components/alert/alert.tsx index d1d71892b0..92ed748daa 100644 --- a/packages/core/src/components/alert/alert.tsx +++ b/packages/core/src/components/alert/alert.tsx @@ -163,8 +163,8 @@ export class Alert { } } - btnClick(button: any) { - console.log('btnClick', button); + buttonClick(button: any) { + console.log('buttonClick', button); // TODO keep the time of the most recent button click // this.lastClick = Date.now(); @@ -375,7 +375,7 @@ export class Alert {
{buttons.map(b => -