mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
feat: add hints to transactions locking item.
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { Switch, FormGroup } from '@blueprintjs/core';
|
import { Switch, FormGroup, Position } from '@blueprintjs/core';
|
||||||
import { Icon, FormattedMessage as T } from 'components';
|
import { Hint, Icon, FormattedMessage as T } from 'components';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export const TransactionLockingContent = ({ name, description, onSwitch }) => (
|
export const TransactionLockingContent = ({ name, description, onSwitch }) => (
|
||||||
<TransactionLockingWrapp>
|
<TransactionLockingWrapp>
|
||||||
@@ -14,7 +12,13 @@ export const TransactionLockingContent = ({ name, description, onSwitch }) => (
|
|||||||
|
|
||||||
<div className="block">
|
<div className="block">
|
||||||
<TransLockingItemTitle>
|
<TransLockingItemTitle>
|
||||||
<T id={name} />
|
<T id={name} />{' '}
|
||||||
|
<Hint
|
||||||
|
content={
|
||||||
|
'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do'
|
||||||
|
}
|
||||||
|
position={Position.BOTTOM_LEFT}
|
||||||
|
/>
|
||||||
</TransLockingItemTitle>
|
</TransLockingItemTitle>
|
||||||
<TransLockingItemDesc>{description}</TransLockingItemDesc>
|
<TransLockingItemDesc>{description}</TransLockingItemDesc>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user