@kiwicom/smart-faq
Version:
30 lines (24 loc) • 781 B
JavaScript
// @flow
import * as React from 'react';
import Card from '@kiwicom/orbit-components/lib/Card';
import CardSection from '@kiwicom/orbit-components/lib/Card/CardSection';
import CardHeader from '@kiwicom/orbit-components/lib/Card/CardHeader';
import Checkbox from '@kiwicom/orbit-components/lib/Checkbox';
type Props = {
showArticle: boolean,
onToggleArticle: () => void,
};
export const cabinBaggageArticleId = 'RkFRQXJ0aWNsZTo0MQ==';
const SmartFAQDebugTools = (props: Props) => (
<Card>
<CardHeader title="Debug tools specific to SmartFAQ" />
<CardSection>
<Checkbox
label="Open with article"
checked={props.showArticle}
onChange={props.onToggleArticle}
/>
</CardSection>
</Card>
);
export default SmartFAQDebugTools;