chore: Convert <Text /> component to span by default
This commit is contained in:
@@ -74,7 +74,11 @@ const SettingRow: React.FC<Props> = ({
|
||||
<Label as="h3">
|
||||
<label htmlFor={name}>{label}</label>
|
||||
</Label>
|
||||
{description && <Text type="secondary">{description}</Text>}
|
||||
{description && (
|
||||
<Text as="p" type="secondary">
|
||||
{description}
|
||||
</Text>
|
||||
)}
|
||||
</Column>
|
||||
<Column>{children}</Column>
|
||||
</Row>
|
||||
|
||||
Reference in New Issue
Block a user