| 1 |
/// <reference types="react" /> |
| 2 |
export interface GenerateIdProps { |
| 3 |
/** String to prefix the id with */ |
| 4 |
prefix?: string; |
| 5 |
/** Component to be rendered with the generated id */ |
| 6 |
children(id: string): React.ReactNode; |
| 7 |
/** @deprecated Has no effect. Kept for backward compatibility. */ |
| 8 |
isRandom?: boolean; |
| 9 |
} |
| 10 |
declare const GenerateId: { |
| 11 |
({ prefix, children }: GenerateIdProps): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>; |
| 12 |
displayName: string; |
| 13 |
}; |
| 14 |
export { GenerateId }; |
| 15 |
//# sourceMappingURL=GenerateId.d.ts.map |