mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
Fixed lint
This commit is contained in:
parent
24e98cfb21
commit
9aefe26ba7
@ -1,32 +1,5 @@
|
||||
import React from 'react';
|
||||
|
||||
const Styles = ({style = {}}) => {
|
||||
return {
|
||||
input: {
|
||||
display: 'block',
|
||||
padding: '0 .6em',
|
||||
width: '100%',
|
||||
height: '44px',
|
||||
outline: '0',
|
||||
border: '1px solid #c5d2d9',
|
||||
color: 'inherit',
|
||||
textDecoration: 'none',
|
||||
background: '#fff',
|
||||
borderRadius: '9px',
|
||||
fontSize: '14px',
|
||||
marginBottom: '12px',
|
||||
boxSizing: 'border-box',
|
||||
...(style.input || {}) // Override any custom style
|
||||
},
|
||||
label: {
|
||||
marginBottom: '3px',
|
||||
fontSize: '12px',
|
||||
fontWeight: '700',
|
||||
...(style.label || {}) // Override any custom style
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
function Checkbox({name, onPlanSelect, isChecked}) {
|
||||
const style = {
|
||||
width: '20px',
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import {render, fireEvent} from '@testing-library/react';
|
||||
import {render} from '@testing-library/react';
|
||||
import PlansSection from './PlansSection';
|
||||
|
||||
const setup = (overrides = {}) => {
|
||||
|
Loading…
Reference in New Issue
Block a user