
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
12 lines
261 B
TypeScript
12 lines
261 B
TypeScript
import { Box } from "@saleor/macaw-ui/next";
|
|
import React from "react";
|
|
|
|
interface LimitsInfoProps {
|
|
text: string;
|
|
}
|
|
|
|
export const LimitsInfo: React.FC<LimitsInfoProps> = ({ text }) => (
|
|
<Box position="absolute" left={10} bottom={3}>
|
|
{text}
|
|
</Box>
|
|
);
|