@vtex/styleguide
Version:
> VTEX Styleguide React components ([Docs](https://vtex.github.io/styleguide))
21 lines (20 loc) • 579 B
TypeScript
import React from 'react';
import { SubjectOptions } from './Atoms/SubjectAtom';
declare type Props = {
isFullWidth?: boolean;
isRtl?: boolean;
omitSubject?: boolean;
omitVerbs?: boolean;
onChangeStatement: (statement: Props['statement']) => void;
options: SubjectOptions;
statement?: {
subject: string;
verb: string;
object?: unknown;
error?: string;
};
subjectPlaceholder: string;
noOptionsMessage?: (value: string) => string | null;
};
declare const Statement: React.FC<Props>;
export default Statement;