mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat(core): impl billing settings (#4652)
This commit is contained in:
@@ -11,6 +11,7 @@ export type SettingRowProps = PropsWithChildren<{
|
||||
spreadCol?: boolean;
|
||||
'data-testid'?: string;
|
||||
disabled?: boolean;
|
||||
className?: string;
|
||||
}>;
|
||||
|
||||
export const SettingRow = ({
|
||||
@@ -21,14 +22,19 @@ export const SettingRow = ({
|
||||
style,
|
||||
spreadCol = true,
|
||||
disabled = false,
|
||||
className,
|
||||
...props
|
||||
}: PropsWithChildren<SettingRowProps>) => {
|
||||
return (
|
||||
<div
|
||||
className={clsx(settingRow, {
|
||||
'two-col': spreadCol,
|
||||
disabled,
|
||||
})}
|
||||
className={clsx(
|
||||
settingRow,
|
||||
{
|
||||
'two-col': spreadCol,
|
||||
disabled,
|
||||
},
|
||||
className
|
||||
)}
|
||||
style={style}
|
||||
onClick={onClick}
|
||||
data-testid={props['data-testid']}
|
||||
|
||||
@@ -86,7 +86,6 @@ globalStyle(`${settingRow} .desc`, {
|
||||
color: 'var(--affine-text-secondary-color)',
|
||||
});
|
||||
globalStyle(`${settingRow} .right-col`, {
|
||||
width: '250px',
|
||||
display: 'flex',
|
||||
justifyContent: 'flex-end',
|
||||
paddingLeft: '15px',
|
||||
|
||||
Reference in New Issue
Block a user