oak-frontend-base/lib/platforms/native/features/index.d.ts

10 lines
337 B
TypeScript

import React from 'react';
import { Feature } from '../../../types/Feature';
type Props = {
features: Record<string, Feature>;
children: React.ReactNode;
};
declare const FeaturesProvider: (props: Props) => any;
declare const useFeatures: <FD2 extends Record<string, Feature>>() => any;
export { FeaturesProvider, useFeatures };