mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Update button component
This commit is contained in:
@@ -2,7 +2,7 @@ import { Spinner } from '..';
|
|||||||
import { Wrapper } from './styles';
|
import { Wrapper } from './styles';
|
||||||
|
|
||||||
type ButtonProps = {
|
type ButtonProps = {
|
||||||
color: 'client' | 'productOwner' | 'developer' | 'admin';
|
color: 'client' | 'productOwner' | 'developer' | 'admin' | 'error';
|
||||||
size?: 'small' | 'big';
|
size?: 'small' | 'big';
|
||||||
variant?: 'primary-action' | 'secondary-action' | 'outlined' | 'text';
|
variant?: 'primary-action' | 'secondary-action' | 'outlined' | 'text';
|
||||||
type?: 'submit' | 'button' | 'reset';
|
type?: 'submit' | 'button' | 'reset';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import styled, { css } from 'styled-components';
|
import styled, { css } from 'styled-components';
|
||||||
|
|
||||||
type WrapperProps = {
|
type WrapperProps = {
|
||||||
color: 'client' | 'productOwner' | 'developer' | 'admin';
|
color: 'client' | 'productOwner' | 'developer' | 'admin' | 'error';
|
||||||
size?: 'small' | 'big';
|
size?: 'small' | 'big';
|
||||||
variant?: 'primary-action' | 'secondary-action' | 'outlined' | 'text';
|
variant?: 'primary-action' | 'secondary-action' | 'outlined' | 'text';
|
||||||
iconLeft?: React.SVGProps<SVGSVGElement>;
|
iconLeft?: React.SVGProps<SVGSVGElement>;
|
||||||
|
|||||||
Reference in New Issue
Block a user