chore: Convert <Text /> component to span by default
This commit is contained in:
@@ -42,6 +42,7 @@ export type Props = {
|
||||
labelHidden?: boolean;
|
||||
icon?: React.ReactNode;
|
||||
options: Option[];
|
||||
/** @deprecated Removing soon, do not use. */
|
||||
note?: React.ReactNode;
|
||||
onChange?: (value: string | null) => void;
|
||||
};
|
||||
@@ -206,7 +207,7 @@ const InputSelect = (props: Props) => {
|
||||
</SelectPopover>
|
||||
</Wrapper>
|
||||
{note && (
|
||||
<Text type="secondary" size="small">
|
||||
<Text as="p" type="secondary" size="small">
|
||||
{note}
|
||||
</Text>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user