feat: added normal login button
This commit is contained in:
parent
710db0a991
commit
43504d31f7
5 changed files with 16 additions and 7 deletions
|
@ -52,3 +52,9 @@
|
|||
--color-75: var(--danger-75);
|
||||
--color-100: var(--danger-100);
|
||||
}
|
||||
|
||||
.style_neutral {
|
||||
--color-50: var(--neutral-50);
|
||||
--color-75: var(--neutral-75);
|
||||
--color-100: var(--neutral-100);
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ export default function Button({
|
|||
}: {
|
||||
type?: 'button' | 'submit' | 'reset';
|
||||
children?: React.ReactNode;
|
||||
mode?: 'primary' | 'warning' | 'success' | 'danger';
|
||||
mode?: 'primary' | 'warning' | 'success' | 'danger' | 'neutral';
|
||||
icon?: IconProp;
|
||||
width?: number;
|
||||
}) {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import Button from '../button';
|
||||
|
||||
export default function Login() {
|
||||
export default function Login({}: {}) {
|
||||
return (
|
||||
<form>
|
||||
<Button type='submit' mode='primary' width={250}>
|
||||
<Button type='submit' mode='neutral' width={250}>
|
||||
Login
|
||||
</Button>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue