@ -17,7 +17,7 @@ export const Button = (props: Props) => {
|
||||
{...buttonProps}
|
||||
disabled={props.isDisabled || props.isLoading}
|
||||
class={
|
||||
'py-2 px-4 font-semibold focus:outline-none filter hover:brightness-90 active:brightness-75 disabled:opacity-50 disabled:cursor-not-allowed disabled:brightness-100' +
|
||||
'py-2 px-4 font-semibold focus:outline-none filter hover:brightness-90 active:brightness-75 disabled:opacity-50 disabled:cursor-not-allowed disabled:brightness-100 flex justify-center' +
|
||||
(props.variant === 'secondary'
|
||||
? ' secondary-button'
|
||||
: ' typebot-button') +
|
||||
|
@ -3,7 +3,7 @@ import { JSX } from 'solid-js'
|
||||
export const Spinner = (props: JSX.SvgSVGAttributes<SVGSVGElement>) => (
|
||||
<svg
|
||||
{...props}
|
||||
class={'animate-spin h-5 w-5 ' + props.class}
|
||||
class={'animate-spin h-6 w-6 ' + props.class}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
fill="none"
|
||||
viewBox="0 0 24 24"
|
||||
|
Reference in New Issue
Block a user