Skip to content

Commit

Permalink
docs(core): button public api
Browse files Browse the repository at this point in the history
  • Loading branch information
romelperez committed Mar 6, 2021
1 parent 018013a commit 782ee77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/core/src/Button/index.ts
Expand Up @@ -5,7 +5,10 @@ import { WithBleepsOutputProps, withBleeps } from '@arwes/sounds';
import { ButtonProps, Button as Component } from './Button.component';
import { bleepsSettings } from './Button.bleeps';

// The `<Button/>` is encapsulating the animator of another component, so it does
// not use the `withAnimator` HOC but it provides the same public API with
// `WithAnimatorOutputProps`.
const Button: FC<ButtonProps & WithAnimatorOutputProps & WithBleepsOutputProps> =
withBleeps(bleepsSettings)(Component as any);
withBleeps(bleepsSettings)(Component as any);

export { ButtonProps, Button };
1 change: 1 addition & 0 deletions packages/core/src/index.ts
@@ -1,6 +1,7 @@
export * from './ArwesThemeProvider';
export * from './StylesBaseline';
export * from './Text';
export * from './Blockquote';
export * from './Table';
export * from './CodeBlock';
export * from './LoadingBars';
Expand Down

0 comments on commit 782ee77

Please sign in to comment.