-
-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mantine theme #1287
base: master
Are you sure you want to change the base?
Add mantine theme #1287
Conversation
Was this abandoned? |
No, I will get back to it next week. We must wait for the bump |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{children} | ||
<Box mt={20}> | ||
<Box pos="absolute" right={0} top={10}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can those styles be moved to the ListDelField
component? We can avoid additional nesting with Box
.
|
||
import AutoField from './AutoField'; | ||
import ListDelField from './ListDelField'; | ||
|
||
export type ListItemFieldProps = { children?: ReactNode; value?: unknown }; | ||
|
||
function ListItem({ | ||
children = <AutoField label={null} name="" />, | ||
children = <AutoField label={null} name="" style={{ width: '100%' }} />, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you test it with custom children? We don't want to pass width
manually to every child component.
@@ -18,7 +19,7 @@ function Nest({ | |||
}: NestFieldProps) { | |||
return ( | |||
<div {...filterDOMProps(props)}> | |||
{label && <Text>{label}</Text>} | |||
{label && <Label>{label}</Label>} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, it should be updated also in other fields e.g. RadioField
.
No description provided.