Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AUTIS
AUTIS frontend
Commits
96fd7e36
Commit
96fd7e36
authored
3 years ago
by
enzorusso
Browse files
Options
Download
Email Patches
Plain Diff
devolvendo button card para versão anterior
parent
eda29cff
dev
AdicionarDado/screens-AdicionarDado.tsx
AdicionarMaterial/screens-AdicionarMateriais
Bugfix/Modal
CadastroResponsavel/screens-CadastroResponsavel
ComponenteFormulario/containers-formComponent.tsx
DropDown/components-DropDown.tsx
E_Dalencon/CardList
IntegraçãoEdiçãoAlunos
ModalContainer/containers-Modal.tsx
bugfix/centralizarInputsDoForm
bugfix/correcao-bootstrap
bugfix/link-material
bugfix/relatorios-sprint3
bugfix/screens-UserList
bugfix/screens-cadastroEdicaoDelecaoUser
bugfix/screens-estilizacao
bugfix/visualizacao-materiais
cadastroEspecialistaEProfessor/Cadastro(etc)
feature/AutorizaLogin
feature/VinculoAlunoProfessor
feature/botaoEnviarRelatorio
feature/screen/MenuCoordenador
feature/send-email
feature/tratamento-erros
feature/visualizacao-materiais
fix/api.ts
fix/arredondaSearchbar
fix/atualiza-estilo-botoes
fix/enter-login
hom
main
screen/ListMaterialModularScreen.tsx
screens/ListMaterialModularScreensV2.tsx
screens/MeusMateriais.tsx
sprint-3/style-fix
vinculoResponsavel/screens-CadastroAluno
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/ButtonCard.tsx
+3
-6
src/components/ButtonCard.tsx
with
3 additions
and
6 deletions
+3
-6
src/components/ButtonCard.tsx
View file @
96fd7e36
...
...
@@ -14,8 +14,8 @@ const defaultProps = {
color
:
colors
.
theme
.
white
,
sizeIcon
:
'
1.125em
'
,
textSize
:
'
1em
'
,
height
:
'
5em
'
,
width
:
'
16.25em
'
,
height
:
'
5em
'
,
onClick
:
()
=>
{
alert
(
'
clicou
'
);
},
...
...
@@ -30,8 +30,8 @@ type ButtonProps = {
icon
?:
IconDefinition
;
sizeIcon
?:
string
;
textSize
?:
string
;
height
?:
string
;
width
?:
string
;
height
?:
string
;
onClick
?:
()
=>
void
;
}
&
typeof
defaultProps
;
...
...
@@ -65,9 +65,6 @@ function ButtonCard(props: ButtonProps) {
marginRight
:
'
1rem
'
,
fontSize
:
`
${
sizeIcon
}
`
,
},
textStl
:
{
margin
:
'
1em
'
,
},
};
return
(
...
...
@@ -79,7 +76,7 @@ function ButtonCard(props: ButtonProps) {
onClick
=
{
onClick
}
>
<
FontAwesomeIcon
icon
=
{
icon
}
style
=
{
styles
.
icon
}
/>
<
div
style
=
{
styles
.
textStl
}
>
{
text
}
</
div
>
{
text
}
</
button
>
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help