RequiredIndicatorFabric component
Component for rendering a required indicator.
đ Signatureâ
RequiredIndicatorFabric(props: {
styles: {
errorColor: string;
};
}): JSX.Element
đ Propsâ
Name | Type | Optional | Description |
---|---|---|---|
styles | object | No | Specifies 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"
}}
/>
);