Skip to content

Instantly share code, notes, and snippets.

@ramin-ahmadi
Created May 7, 2023 18:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramin-ahmadi/9e1f065e8e07b436bd1b336f6650a55a to your computer and use it in GitHub Desktop.
Save ramin-ahmadi/9e1f065e8e07b436bd1b336f6650a55a to your computer and use it in GitHub Desktop.
Storybook button component with variation
<button [disabled]="disabled" [type]="type">
<span *ngIf="iconLeft" class="icon icon-left">{{iconLeft}}</span>
{{label}} <span *ngIf="iconRight" class="icon icon-right">{{iconRight}}</span>
</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment