Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adiciona prop 'icon' em ani-button #60

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

lucybrandao
Copy link
Contributor

Adiciona propriedade icon em ani-button.

Nova propriedade do tipo icon em ani-button para a utilização de ícones em forma de propriedade. 🌸

<ani-button icon="arrow-right">Abacate</ani-button>

resultado:

image

Como revisar

  • Testar no labs do storybook

Para os devs

  • Clonar o repositório
  • npm i
  • npx lerna bootstrap
  • npx lerna run build

Adicionar o seletor do componente no arquivo animalia-web-components/demo/app/index.html, da seguinte forma:

<ani-button icon="arrow-right">Abacate</ani-button>

Depois execute o comando:

npx lerna run start

Que irá abrir uma janela no seu navegador com o app de demonstração do componente.

@netlify
Copy link

netlify bot commented Apr 6, 2023

Deploy Preview for animaliads-next ready!

Name Link
🔨 Latest commit d4da145
🔍 Latest deploy log https://app.netlify.com/sites/animaliads-next/deploys/642f236ef4dfe000082edefd
😎 Deploy Preview https://deploy-preview-60--animaliads-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@lucybrandao
Copy link
Contributor Author

link para verificar deploy do componente button: https://deploy-preview-60--animaliads-next.netlify.app/?path=/docs/api-button--sample

Copy link

@luizmariz luizmariz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: Refatorar a estratégia de renderização do botão

@milkatx milkatx merged commit 248b03c into next Apr 13, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants