@vtex/styleguide
Version:
> VTEX Styleguide React components ([Docs](https://vtex.github.io/styleguide))
20 lines (19 loc) • 508 B
TypeScript
import React from 'react';
import { VerbOption } from './VerbAtom';
export declare type SubjectOptions = {
[key: string]: {
group?: string;
label: string;
unique?: boolean;
verbs: VerbOption[];
};
};
declare type Props = {
subject?: string;
onChange: (string: any) => void;
options: SubjectOptions;
placeholder: string;
noOptionsMessage?: (value: string) => string | null;
};
declare const SubjectAtom: React.FC<Props>;
export default SubjectAtom;