Skip to main content

RequiredIndicatorFabric component

Component for rendering a required indicator.

📝 Signature​

RequiredIndicatorFabric(props: {
styles: {
errorColor: string;
};
}): JSX.Element

📇 Props​

NameTypeOptionalDescription
stylesobjectNoSpecifies the styles for the required indicator. Supports the following styles:
- errorColor: Error color for the required indicator.

↩ī¸ Return value​

Returns the JSX.Element for the component.

👩‍đŸ’ģ Example​

import { RequiredIndicatorFabric } from "@tripetto/runner-fabric/components/required-indicator";

const RequiredIndicatorFabricExample = () => (
<RequiredIndicatorFabric
styles={{
errorColor: "red"
}}
/>
);