2017-09-27 17:26:12 +03:00
|
|
|
import React from 'react';
|
2017-10-31 12:29:15 +02:00
|
|
|
import forceArray from 'force-array';
|
2017-09-27 17:26:12 +03:00
|
|
|
|
|
|
|
import {
|
2017-10-31 12:29:15 +02:00
|
|
|
TableTr,
|
|
|
|
TableTd
|
2017-09-27 17:26:12 +03:00
|
|
|
} from 'joyent-ui-toolkit';
|
|
|
|
|
2017-10-31 12:29:15 +02:00
|
|
|
export default ({ rule = '', global = false, enabled = false }) => (
|
|
|
|
<TableTr>
|
|
|
|
<TableTd><code>{rule}</code></TableTd>
|
|
|
|
<TableTd center middle><code>{JSON.stringify(global)}</code></TableTd>
|
|
|
|
<TableTd center middle><code>{JSON.stringify(enabled)}</code></TableTd>
|
|
|
|
</TableTr>
|
2017-09-27 17:26:12 +03:00
|
|
|
);
|